Ответ:
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
setlocale(LC_ALL,"RUS");
int n = 0;
do{
system("CLS");
cout << "Ââåäèòå öåëîå ÷èñëî: ";
cin >> n;
for(int i = 1; i <= 10; i++){
cout << n << " * " << i << " = " << n*i << endl;
}
n = getch();
}while(n != 27);
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
setlocale(LC_ALL,"RUS");
int n = 0;
do{
system("CLS");
cout << "Ââåäèòå öåëîå ÷èñëî: ";
cin >> n;
for(int i = 1; i <= 10; i++){
cout << n << " * " << i << " = " << n*i << endl;
}
n = getch();
}while(n != 27);
return 0;
}