answersLogoWhite

0

#include

#include

#include

using std::cout;

using std::cin;

using std::endl;

using std::setw();

int main()

{

const double PI = 3.14153;

double radius = 0.0;

cout << "Enter radius of circle: ";

cin >> radius;

unsigned short precision = 5;

cout << endl <<"Enter precision you want have (not more than 6 digits): ";;

cin >> precision;

cout << setw(precision) <

system("PAUSE");

return 0;

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you print a triangle of stars?

write a c++ programe to print a triangle without (for)


Write a c program to find the area and perimeter of circle?

Learn c programming and geometry. It will be easy when you know both.


How is event driven programming different from other programming?

write a note on event driven programming


How do you write a program that prints a circle at Yahoo Answers?

To print a circle in a programming context, you typically need to use graphics libraries or ASCII art. For example, in Python, you can use the turtle library to draw a circle with the command turtle.circle(radius). If you're looking to represent a circle in ASCII art, you could print a series of characters arranged to form a circle shape. Since Yahoo Answers is no longer operational, consider using forums like Stack Overflow for programming help.


How programming language is useful in system programming?

Without programming languages you couldn't write (system) programs.


Are there cancer viruses in vaccines SV40 virus?

Do the global elite have a covert depopulation programe ? as they are obsessed as you can see in the media, dont write you personal opinion on how you wouldnt do this just facts and dates.


How do you write 5 in Arabic?

circle


What can c programming do?

by using this we can write a coding for operating systems


Write a java code to draw a circle inside in an ellipse?

write a program draw circle and ellipse by using oval methods in java


What is the math function that draws a circle?

"a compass "But how do I write this mathematicaly?e.g.a parabula is f(x)=x2what is the way to write a circle function??


How do you write absolute in C programming?

Assuming Absolute Value.abs(num)


What you 'll do using programming language?

Write computer-programs, I suppose.