/********* TRY YOURSELF FIRST **********/
Problem Details: Click to see full problem in details....
Solutions in C++:
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double R,A;
cin>>R;
A=3.14159*R*R;
cout<<"A="<<fixed<<setprecision(4)<<A<<endl;
return 0;
}
https://russelltheprogrammer.com/category/uri-online-judge/
#include <iomanip>
using namespace std;
int main()
{
double R,A;
cin>>R;
A=3.14159*R*R;
cout<<"A="<<fixed<<setprecision(4)<<A<<endl;
return 0;
}
https://russelltheprogrammer.com/category/uri-online-judge/
Comments
Post a Comment
Thanks for your message