lab1/Лаб 1. Власенко о ф/лаб 2 власенко/задача 1.cpp

14 lines
275 B
C++
Raw Permalink Normal View History

2024-10-24 09:57:25 +04:00
#include <stdio.h>
#include <Windows.h>
void main()
{
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
float V;
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:");
scanf_s("%f", V);
float b=6;
float c=2;
float a = V / (b * c);
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> ", a);
}