Showing posts with label C Plus Plus (Area and Parimeter). Show all posts
Showing posts with label C Plus Plus (Area and Parimeter). Show all posts

C Plus Plus (Area and Parimeter)

#include
#include

using namespace std;

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

cout<<"Length = "; cin>>length;
cout<<"Width = "; cin>>width;

parimeter = 2 * (length-width);
area = length*width;

cout<<<"Parimeter is "<
cout<<<"Area is "<

getch();

}