What's new

Closed Turbo c++ requesting switch case and looping please

Status
Not open for further replies.

Parley

Honorary Poster
Joined
Feb 10, 2013
Posts
310
Reaction
38
Points
150
Age
30
Do we have a code for turbo c 3.5 just a simple switch case and looping big thanks for helping.
 
switch(value) {
case 1: case 'a': case 'A':
//statements goes here
break;
default: //if all cases are not satisfied
}

do {
//statements goes here
}while(condition);

while(condition) {
//statements goes here
}

for(initialization; condition; update statement) {
//statements goes here
}
 
switch(value) {
case 1: case 'a': case 'A':
//statements goes here
break;
default: //if all cases are not satisfied
}

do {
//statements goes here
}while(condition);

while(condition) {
//statements goes here
}

for(initialization; condition; update statement) {
//statements goes here
}
Thanks
 
Status
Not open for further replies.

Similar threads

Back
Top