how about flowchart for this code?

farahana

New member
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";
 
Back
Top