Answer to Question #268642 in C++ for aden

Question #268642

 int main( ) {

   double radius;

  const double PI= 3.15169;

   double area = radius * radius * PI;

  cout<<"Area is " << area;

return 0:

 }


1
Expert's answer
2021-11-19T10:01:20-0500
#include <iostream>
using namespace std;


 int main( ) {


   double radius;
   cout<<"Input radius: ";
   cin>>radius;


  const double PI= 3.15169;


   double area = radius * radius * PI;


  cout<<"Area is " << area;


return 0;


 }

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS