Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- using namespace std;
- int main()
- {
- int a;
- cout<< "Input the first number"<<endl;
- cin >> a;
- int b;
- cout<< "Input the second number"<<endl;
- cin >> b;
- int S;
- S = a*b;
- cout << "Input the square of a rectangle"<<endl;
- cout << S<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement