2024-11-21 09:42:25 +04:00
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <windows.h>
|
2024-11-21 09:41:41 +04:00
|
|
|
|
|
2024-11-21 09:42:25 +04:00
|
|
|
|
void main() {
|
|
|
|
|
SetConsoleCP(1251);
|
|
|
|
|
SetConsoleOutputCP(1251);
|
|
|
|
|
int a;
|
|
|
|
|
printf("Введите цену надувной лодки\n");
|
|
|
|
|
scanf_s("%d", &a);
|
|
|
|
|
if (a > 0 and a < 15000) {
|
|
|
|
|
printf("Дешево");
|
|
|
|
|
}
|
|
|
|
|
if (a >= 15000 and a < 30000) {
|
|
|
|
|
printf("Нормально");
|
|
|
|
|
}
|
|
|
|
|
if (a >= 30000 and a < 75000) {
|
|
|
|
|
printf("Дорого");
|
|
|
|
|
}
|
|
|
|
|
if (a >= 75000 and a < 150000) {
|
|
|
|
|
printf("Ужас дорого");
|
|
|
|
|
}
|
|
|
|
|
}
|