🔒 Closed Turbo c++ requesting switch case and looping please

Status
Not open for further replies.
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.

About this Thread

  • 2
    Replies
  • 774
    Views
  • 2
    Participants
Last reply from:
Parley

Trending Topics

Online now

Members online
1,106
Guests online
3,343
Total visitors
4,449

Forum statistics

Threads
2,325,339
Posts
29,221,146
Members
1,169,233
Latest member
klitzyyy
Back
Top