lab4(82)

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; int main() { float x, y, z; cin>>x>>y; if(x>y) { z = (x+y)/2; x = x*y*2; cout<<x<<" "<<z; } else { z = (x+y)/2; y = x*y*2; cout<<z<<" "<<y; } return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines