- Assignment Lecture 11 Make A Program Which Gets Radius As Input From The User Calculate Also Circumference Of A Cir 1 (104.82 KiB) Viewed 38 times
Assignment lecture-11 - Make a program, which gets radius as input from the user - Calculate also circumference of a cir
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Assignment lecture-11 - Make a program, which gets radius as input from the user - Calculate also circumference of a cir
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