Control Statements
" NESTED IF " STATEMENT
#include <iostream>
using namespace std;
int main(){
int x, y, z;
cout << " Enter three numbers \n";
cin >> x >> y >> z ;
if ( x > y )
{
if (x >z) {
cout << " The greatest number is : " << x; }
else
...
shahalpp.hashnode.dev5 min read