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

Trending Topics

Online now

Members online
1,064
Guests online
1,643
Total visitors
2,707

Forum statistics

Threads
2,285,176
Posts
29,028,156
Members
1,219,317
Latest member
Roninnnnn
Back
Top