Question: WRITTEN IN C# - VISUAL STUDIO WRITTEN IN C# - VISUAL STUDIO 3. (Diameter, Circumference and Area of a Circle) Write a C# program that
WRITTEN IN C# - VISUAL STUDIO

WRITTEN IN C# - VISUAL STUDIO
3. (Diameter, Circumference and Area of a Circle) Write a C# program that firstly repeats the following operations for five times: (20 points) ask the user to input the radius of a circle as an integer . if the user's input is less than zero, remind the user. otherwise, calculate and display the circle's diameter, circumference and area. Then, output a message to inform the user that he/she has input for five times. When working on this question, you should use the double value 3.14159 to represent TT, and the following formulas: diameter = 2r circumference = 2mr area = TTr2 Hint: use do...while
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
