diff --git a/л2нп.cpp b/л2нп.cpp new file mode 100644 index 0000000..13280a0 --- /dev/null +++ b/л2нп.cpp @@ -0,0 +1,18 @@ +#include +#include +#include +void main() +{ + SetConsoleCP(1251); + SetConsoleOutputCP(1251); + float P; + float r; + float s; + + printf("P"); + scanf_s("%f", &P); + printf("r âïèñ"); + scanf_s("%f", &r); + s = P * r * 0.5; + printf("ïë ìíîãîóã %f P %f r%f \n", s, P, r); +} \ No newline at end of file