ваыва #2

Open
nikskob wants to merge 2 commits from ветка2 into main
Showing only changes of commit 78cc9054cb - Show all commits

View File

@ -1 +1,15 @@

#include <stdio.h>
#include <math.h>
#include <Windows.h>
void main()
{
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
printf("Введите радиус шара:");
float R;
scanf_s("%f", &R);
float pi = 3.14f;
float v = (4.0 / 3.0) * pi * (R * R * R);
printf("Обьем шара равен = %f ", v);
}