Monday, December 10, 2007

How to do some calculation

How to do some calculation

To do some calculation

#include

int main( )

{ int x, y, z;

cout << "Please enter TWO numbers for the calculation :\n";

cout << "1st number is : ";

cin >> x;

cout << "2nd numbers is : ";

cin >> y;

(z = (x*y));

cout << "1st number is " <<>

cout << "\n"<<"So, when 1st number MULTIPLY by 2nd number...it equal to ";

cout<<>

return 0;

}

Result :

No comments: