+ 1

Help

How i can change this statement into switch statement Int x; cin>>x; If (x>=15) Cout<<“2”; Else if (x>=10) Cout<<(3); Else Cout<< “4”;

7th Mar 2018, 6:43 AM
abdarhman abu hejleh
abdarhman abu hejleh - avatar
1 Answer
+ 1
Sorry cout<<“3”
7th Mar 2018, 6:44 AM
abdarhman abu hejleh
abdarhman abu hejleh - avatar