Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
246 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	int a;
	cin >> a;
	for (int i = 10; a <= i; i--)
	{
		for (int c = 1; c <= i; c++)
		{
		cout << "" << a << "*" << c << "=" << a * c << endl;
		if (c == 10) return 0;
		}
	}
}
Leave a Comment