GVA SUPPORT

³ 1325447156
Text:
	Բ =  ..

 ://  
#include <iostream>  //  /
#include <math.h>    //      
#include <stdio.h>   //  /
using namespace std; //    cout   cin

//------------------------------------------------------------------------------


int main()
{
        //     2    
        double a,b;
        cout<<"Enter a and b : ";
        cin>>a>>b;

        if (a == b)
        {
                cout<<" OBA RAVNI"<<endl;
        }
        else
                if (a > b)
                {
                        cout<<" MAX  =  "<<a<<endl;
                }
                else
                {
                        cout<<" MAX  =  "<<b<<endl;
                }
        cout<<"======="<<endl;

        cout<<" a > b ";
        if ( a > b) { cout<<" DA ";} else {cout<<" NET ";} cout<<endl;

        cout<<" a < b ";
        if ( a < b) { cout<<" DA ";} else {cout<<" NET ";} cout<<endl;

        cout<<" a >= b ";
        if ( a >= b) { cout<<" DA ";} else {cout<<" NET ";} cout<<endl;

        cout<<" a <= b ";
        if ( a <= b) { cout<<" DA ";} else {cout<<" NET ";} cout<<endl;

        cout<<" a == b ";
        if ( a == b) { cout<<" DA ";} else {cout<<" NET ";} cout<<endl;

        cout<<" a != b ";
        if ( a != b) { cout<<" DA ";} else {cout<<" NET ";} cout<<endl;
        system("pause");
        return 0;
}


====================================