Program to find area and circumference of circle based on choice in C
Logic: Enter choice ch Enter radius of circle as r If ch=1, find area=pi * r * r if ch=2 find circumference = 2 * pi * r Otherwise print “Wrong Choice” Algorithm Enter choice ch Enter radius of circle r if (ch == 1) { a = 3.14 * r * r; printf(“the area …
Program to find area and circumference of circle based on choice in C Read More »