This commit is contained in:
abasev360@gmail.com 2024-11-28 12:25:11 +04:00
parent ad1f82b76f
commit 7e41f3eeec

18
л2нп.cpp Normal file
View File

@ -0,0 +1,18 @@
#include<stdio.h>
#include<math.h>
#include<Windows.h>
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);
}