Assignment lecture-11 - Make a program, which gets radius as input from the user - Calculate also circumference of a cir
Posted: Tue Jul 12, 2022 8:27 am
Assignment lecture-11 - Make a program, which gets radius as input from the user - Calculate also circumference of a circle and writes radius and result in a file called "circumference.txt" calculates area of a circle and writes radius and result in a file called "circle.txt" Calculates surface area of a sphere and writes radius and result in a file called "sphere.txt" Calculates volume of the sphere and writes it an radius in a different file Your program should give user the choice to see results in the files - Save .exe file and the text files in a folder - The foldername should be your ID followed by your name NOTE: Area of a circle is given as Area =A=π∗ (radius) 2 Take π=3.1415 - Surface area of a sphere is given as - Surface Area =SA=4∗ππ∗( (9idius) )2 * Volume of shpere =4/3∗ T⿵ ∗( radius )3