Compare commits

...

2 Commits

Author SHA1 Message Date
abasev360@gmail.com
a7f72afabe New commit 2024-11-28 12:32:36 +04:00
abasev360@gmail.com
7e41f3eeec commit3 2024-11-28 12:25:11 +04:00
2 changed files with 18 additions and 0 deletions

0
test.txt Normal file
View File

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);
}