🔒 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
  • 754
    Views
  • 2
    Participants
Last reply from:
Parley

Trending Topics

Online now

Members online
988
Guests online
1,166
Total visitors
2,154

Forum statistics

Threads
2,273,843
Posts
28,952,037
Members
1,234,978
Latest member
panda1829
Back
Top