Untitled

mail@pastecode.io avatar
unknown
c_cpp
6 months ago
248 B
1
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	int a, b;
	cin >> a >> b;

	int kvad1, kvad2;

	kvad1 = a * a;
	cout << a << '*' << a << '=' << kvad1 << endl;
	kvad2 = b * b;
	cout << b << '*' << b << '=' << kvad2 << endl;
}
Leave a Comment