write an application to calculate the diameter


Write an application to calculate the diameter, circumference, and area of a circle with a radius input by the user. Assign the radius float variable and then output the radius with an appropriate message. Declare and named constant PI with the value 3.14159. The application should output the diameter, circumference, and area on a separate line, with identifying labels. Be sure to include appropriate comments in your code, choose meaningful identifiers, and use indentation as we do in normal code.
Special notes:

o    Declare and use a no-argument (or "parameter-less") constructor to input the data needed, and to do the calculations.

o    Use the method printCircleInfo() to print the results.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: write an application to calculate the diameter
Reference No:- TGS0210771

Expected delivery within 24 Hours