//Demonstration of variables 1. // by Joseph Oriko (mailoriko@yahoo.com) // Wednesday,June 30th,2004. # include int main () { unsigned short int Width = 6, Length; Length = 1000; // create an unsigned short and initialize with result // of multiplying Width by Length unsigned short int Area = (Width * Length) ; cout << "Width:" << Width << "\n"; ; cout << "Length:" << Length << endl; ; cout << "Area: " << Area << endl; return 0; } //Outputs: // Width: 6 // Length: 1000 // Area: 6,000