#include <iostream>
using namespace std;
main()
{
float area,cir,r;
cout<<"Enter the radius of the circle.\n";
cin>>r;
area=(22/7)*r*r;
cir=2*(22/7)*r;
cout<<"Area= "<<area<<endl;
cout<<"Circumference= "<<cir<<endl;
}
//Java Program to count the total number of characters in a string import java.util.*; public class CountChars { public static void mai...
No comments:
Post a Comment