My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Question #4225
Can IF statements replace SELECT statements?
Expert's answer
C++ code
& example shows how to do it.
IF statements:
if(x==1){
...
}else if(x==2){
...
}else{
...
}
SELECT statements:
switch(x){
case 1:
...
break;
case 2:
...
break;
default:
...
}
Our fields of expertise
Programming
Math
Engineering
Economics
Physics
LATEST TUTORIALS
APPROVED BY CLIENTS
Thanks for the assistance,,, your service is great
#340795
on Jan 2024
Read all reviews >>