Professional Documents
Culture Documents
1.write A Program That Takes The Radius of A Circle From The User and PDF
1.write A Program That Takes The Radius of A Circle From The User and PDF
Write a program that takes the radius of a circle from the user and
Sol:
#include <iostream>
int main ()
float r;
cin>>r;
float a=3.1416*r*r;
float c=2*3.1416*r;