#include <iostream> using std::cout; using std::cin; int main() { int speed; int height; cout << "Введиите допустимую скорость в самолёта "; cin >> speed; cout << "Введите дрпустимую высоту(в тыс. метрах) "; cin >> height; if(speed < 750 && height < 9000){ cout << "Данной скорости и высоты не достаточно для самолёта"; }else if(speed > 850 && height > 9500){ cout << "Данная скорость и высота превышает установленнную норму полёта "; }else{ cout << "Данной скорости и высоты достаточно "; } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter