Alright new to java and thought you guys might help me out understanding how to write programs...
I got the basics down, here are a few assignments I got and maybe you can hurry and write them so I can learn...
Thanks...
#1
Bermuda Triangles:
PROGRAM:Write a program that accepts the number of rows as input. The program should produce a multiplication triangle of n rows.
EX: Please enter the number of rows: 6
The multiplication triangle
1
2 4
3 6 9
4 8 12 16
5 10 15 20 25
6 12 18 24 30 36
#2
PROGRAM: Finding Factorials
//Write a program that finds the factorial of a value entered by the user.
To calculated 12! (12 Factorial) for example the program should calculate the value of
1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 x 12
#3
Program: Factors
//Write a program that determines all the factors of a given number,
SAMPLE OUTPUT:
The factors of 24 are:
1,2,3,4,6,8,12,24
This will be greatly appreciated and put to good use for me and few buddies trying to learn...
ASAP would be nice ;)