commit3
This commit is contained in:
parent
ad1f82b76f
commit
7e41f3eeec
18
л2нп.cpp
Normal file
18
л2нп.cpp
Normal 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);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user