101
{ USER }
posts: 55
last: 09-Apr-2008
TITLE: Area of rectangle
DESCRIPTION: Area of rectangle
Submitted: 09-Apr-2008 07:48:11 ( 38w 6d 1h ago ) Language: C++ (*.cpp *.h)
Views: 83 Lines of Code: 28 LINES
Rating:
rate: star1
star2
star3
star4
star5
dstar1
dstar2
dstar3
dstar4
dstar5  ( rated! )
  { 0.00 / 5 }
Difficulty: Intermediate
Bookmark
/* Author: 101
   Date: 09-04-2008
   Filename: 
   Description: Area of rectangle
   History: 
*/



#include <iostream> 
using namespace std; 

const double pi = 3.14159; 

int main() 
{ 
float length, width, area; 

cout << "Enter The Length Of The Rectangle: "; 
cin >> length; 
cout << "Enter The Width Of Rectangle: "; 
cin >> width; 
area = length*width; 

cout <<"The area of the rectangle is : "<< area << endl;

return 0; 
}