Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.36 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main ()
  5.  
  6. {
  7.     int a,b,c;
  8.    
  9.  cout << "                    Please enter the width                    " << endl;
  10.  cin >> a;
  11.  cout << "                 Please enter the length                    " << endl;
  12.  cin >> b;
  13.  cout << "  The area is:  "<< a*b << endl;
  14.  
  15.  system ("PAUSE");
  16.  
  17.  
  18.  return 0;
  19.  
  20. }