Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Screen Shot : https://goo.gl/Q9BRqH
- // tigerzplace.com
- #include<iostream>
- using namespace std;
- int main()
- {
- float width,height,area,perimeter;
- cout<<"Enter Width of Rectangle = ";
- cin>>width;
- cout<<"Enter Height of Rectangle = ";
- cin>>height;
- area=height*width;
- cout<<"Area of Rectangle ="<<area<<endl;
- perimeter=2*(height+width);
- cout<<" Perimeter of rectangle are = "<<perimeter<<endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment