#include <iostream>
#include <locale>
#include <math.h>
#include <conio.h>
using namespace std;
int main()
setlocale(LC_ALL, "Russian");
double R, h, answ;
const double PI = 3.14159265;
cout << "Enter R" << endl;
cin >> R;
cout << "Enter h" << endl;
cin >> h;
answ = 2 * R*h*PI;
cout << "R= " << R << "h= " << h << " Площадь поверхности цилиндра: " <<
answ << endl;
_getch();
return(0);
}
Asked
Active
Viewed 37 times
2
n3r0bi0m4n
- 1,197
Дарья
- 21
system("chcp 1251");должно помочь. – Sep 29 '17 at 13:53int main() { system("chcp 1251"); system("cls");
}`
– Sep 29 '17 at 14:06