Write a Java program that asks the user to enter the radius of a sphere and then the program calculates the sphere's volume
Buget $10-30 USD
Job Description:
Problem 1
Write a Java program that asks the user to enter the radius of a sphere and then the program calculates the sphere's volume as well as the sphere's surface and displays on the screen in three different lines radius, surface and volume with two digits of precision in the decimal part.
The volume "V" and the surface "S" of a sphere are determined by the following formula.
V=(4/3) PI r3, S=4 PI r2
Problem 2
Write a Java program that reads an integer number between 1 and 9 a shows the multiplication table corresponding to that input. If the input is not an integer in the interval [1, 9] the programs asks again for a valid input. For instance, for an input equal to 7 the program will show the following output on the console.
7's Multiplication Table
-----------------------------
7 x 1 = 7
7 x 2 = 14
7 x 3 = 21
7 x 4 = 28
7 x 5 = 35
7 x 6 = 42
7 x 7 = 49
7 x 8 = 56
7 x 9 = 63
7 x 10 = 70
--------------------------------
Write your solution in a java file and upload the source code.
must be in net beans
I have to have done in 30 mins from the post
Acordat lui:
hi mate this is Asad, i have a lot of experience in java programming,would surely do it in half an hour,cheers :)
4 freelanceri licitează în medie 23$ pentru acest proiect
Leave a message, so we can continue with the details as soon as possible, I have a good command in such projects, please view my reviews.