lab3_108

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; int main() { int a,b,c; cout << "Input a,b and c values:"<<endl;// to store numbers cin>>a>>b>>c; //checking for bigger numbers if((a>b && b>c) || (b>a && a>c)) cout<<"Sum :"<<a<<"+"<<b<<"="<<a+b<<endl; else if((b>c && c>a) || (c>b && b>a)) cout<<"Sum :"<<b<<"+"<<c<<"="<<b+c<<endl; else if((a>c && c>b) || (c>a && a>b)) cout<<"Sum :"<<a<<"+"<<c<<"="<<a+c<<endl; else cout<<"the numbers are identical!!!"<<endl; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines