Laba4/Laba.1/Project2/Source.c
2024-12-23 13:58:48 +04:00

18 lines
340 B
C

#include <stdio.h>
#include <Windows.h>
#include <math.h>
void main() {
SetConsoleCP(1252);
SetConsoleOutputCP(1251);
float m;
float rub_m;
printf("Âĺäčňĺ ďëîůŕäü ęâŕđňčđű\n");
scanf_s("%f", &m);
printf("Âĺäčňĺ ńňîčěîńňü ęâ ě â đóá\n");
scanf_s("%f", &rub_m);
float p = m * rub_m;
printf("Ęâŕđňčđŕ áóäĺň ńňîčňü %f đóá\n", p);
}