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