18 lines
340 B
C
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);
|
|
} |