Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as text by piasdom ( 17 years ago )
case 5: cout << "you've chosen area of a square or rectangle.
"; 

			cout << "enter first length: ";

			cin >> a; 
			cout << "enter second length: ";
			cin >> b;

			cout << a << " and " << b << " will give you " << a*b << " square area.
";
			cout << "the hypotenuse is " << sqrt(a*a+b*b) << "
";

 

Revise this Paste

Your Name: Code Language: