Param World!
Tips and Tricks Available for Computer, Electronics, Softwares, Internets
Pages
Home
Electronics
8051 uC
Thursday, 17 October 2013
CPP Program to Calculate Circumference of Circle
/
/Write a program to calculate circumference of circle.
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
float r,cir;
cout<<"Enter radius -";
cin>>r;
cir=2*3.14*r;
cout<<"Circumference of circle -"<<cir;
getch();
}
Output:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Comments System
No comments:
Post a Comment