F farahana New member Jan 26, 2011 #1 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";
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";