Lab4(114)

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include<cmath> using namespace std; int main() { setlocale(LC_ALL, "ru"); double a, b, c; cout << "Введите числа" << endl; cin >> a >> b >> c; cout << endl; if (a <= b && b <= c) { cout << 2 * a << endl << 2 * b << endl << 2 * c << endl; } else { a = abs(a); b = abs(b); c = abs(c); cout << endl << "Результат:" << endl << a << endl << b << endl << c << endl; return 0; } }
Editor Settings
Theme
Key bindings
Full width
Lines