W.A.P. C++

WAP | CPP | Programs in C++ | C++ Solutions

Snehil Khanor's Binary Log

Write a program to find area of a circle


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 :)
  1. #include <iostream.h>
  2. #include <conio.h>
  3. void main()
  4. {
  5. clrscr();
  6. float r,a;
  7. cout<<"enter radius ";
  8. //Coding by: Snehil Khanor
  9. //http://WapCPP.blogspot.com
  10. cin>>r;
  11. a=3.14*r*r;
  12. cout<<"The area is "<<a;
  13. getch();
  14. }

1 comments:

Indaz Hussain September 2, 2016 at 6:28 PM  

It shows statement missing in line 11

Search

About WAP C++

Here you'll find a wide range of programs' solution ranging from beginer level to advanced level.
All programs here are made, compiled and tested by me..and are running absolutely fine.. still if you find any bug in any program do let me know :)

Followers

Subscribe via email

Enter your email address:

Delivered by FeedBurner

my Binary Log

Blog Archive



eXTReMe Tracker