60 709
Assignments Done
97,9%
Successfully Done
In April 2018

Answer to Question #1192 in C++ for aditya rangarajan

Question #1192
Write a program to calculate area of circle and print the same.
Expert's answer
#include <iostream>
using namespace std;

int main ()
{
float r;
cout << "Please enter the radius: ";
cin >> r;
cout << "The area of the circle is " << 3.14*r*r ".\n";
}

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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions