Question: Java code please . Q1. Use the programming techniques and write an application that calculates a) The squares and cubes of the numbers from 0

 Java code please . Q1. Use the programming techniques and write

Java code please

. Q1. Use the programming techniques and write an application that calculates a) The squares and cubes of the numbers from 0 to 10 and b) Prints the resulting values in table format, as shown below or print the resulting values in a good format. 11:34 AM Q2. Write an application that inputs from the user the radius of a circle as an integer and prints the circle's diameter, circumference and area using the double value. Use Java constant in the formula. Use the following formulas (r is the radius): diameter = 2r circumference = 2tr area = Tur2 Do not store the results of each calculation in a variable. Rather, specify each calculation as the value that will be output in a System.out.printf statement. The values produced by the circumference and area calculations are floating-point numbers. 11:34 AM

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!