You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
-
F
Q1)
cout<<"Enter an integer:";
cin>>number;
if(number%5==0)
cout<<"Hi5"<<endl;
if(number%2==0)
cout<<"Hi2"<<endl;
Q2)
if(i>j)
{
if(i>k)
cout<<"Good Morning\n";
}
else
cout<<"Good afternoon\n";