Untitled
unknown
plain_text
2 years ago
364 B
6
Indexable
#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "russian");
int n;
cout << "Введите число для которого будет выводится таблица умножения:";
cin >> n;
for (int i = 1; i <= 10; i++) {
cout << n << " * " << i << " = " << n * i << endl;
}
return 0;
}
Editor is loading...
Leave a Comment