Compare commits
No commits in common. "Branch2" and "main" have entirely different histories.
18
л2нп.cpp
18
л2нп.cpp
@ -1,18 +0,0 @@
|
||||
#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