1.10. Вывести на экран числа 5, 10 и 21 одно под другим.
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
double a=5, b=10, c=21;
cout << a << "\n" << b << "\n" << c;
_getch();
}
#include <conio.h>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
double a=5, b=10, c=21;
cout << a << "\n" << b << "\n" << c;
_getch();
}
Комментариев нет:
Отправить комментарий