heres the code:
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int length, width;
cout<<"Enter the length of the object:";
cin>>length;
cout<<"Enter the width of the object:";
cin>>width;
cout<<"The area of the object is ";
int area;
area= length*width;
cout<<area;
cin.get();
return EXIT_SUCCESS;
}
Also I am using Bloodshed C++ Beta 5. I would like to use the previous full version so that I know there are no bugs in the compiler. If any one could point me to it I would be thankfull


Sign In
Create Account



Back to top









