Lab_4

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <cmath> using namespace std; int main() { double a,b,c; cin >>a>>b>>c; if((a<b) && (b<c)) {a*=2; b*=2; c*=2;} else {a = abs(a); b = abs(b); c = abs(c); } cout << "a = " << a << endl; cout << "b = " << b << endl; cout << "c = " << c << endl; }
Editor Settings
Theme
Key bindings
Full width
Lines