If Else Conditional Statement In C++

 IF Else Statement In C++


#include<iostream>

using namespace std;

int main(){

    int x=20;

    int y=30;


    if(x<y){

        cout << "Y is Greater";

    }

    else{

        cout << "X is Greater";

    }

}



No comments

Powered by Blogger.