Radius of circle is taken from user and Area is calculated
Select To use this code as it is.. select and copy paste this code into code.cpp file :)
- #include <iostream.h>
- #include <conio.h>
- void main()
- {
- clrscr();
- float r,a;
- cout<<"enter radius ";
- //Coding by: Snehil Khanor
- //http://WapCPP.blogspot.com
- cin>>r;
- a=3.14*r*r;
- cout<<"The area is "<<a;
- getch();
- }
1 comments:
It shows statement missing in line 11
Post a Comment