+ 2
How to make this c++ program?
Write a c++ program to input choice 1 or 2.If choice is 1 print area of a circle otherwise print the perimeter of circle.
3 ответов
+ 3
use switch case and try yourself. if thereafter any error I will correct it.
+ 1
You should really try harder to find the answer by yourself. Forums are not meant to answer your homework, or at least, post the code you have so far.
+ 1
seriously guys 😂😂 At least try of ur own.. (hint: after main.. get the user input for finding area of circle and the perimeter of circle.. and in the switch pass a int value.. n for both the cases pass 1 and for the other 2.. in case 1 write the print statement for area of circle.. and in case 2 write the print statement for perimeter of circle.)