Saved Bookmarks
| 1. |
Write a program to display numbers from 1 to 10 except 6 using continue statement. |
|
Answer» C++ program to display numbers from 1 to 10 except 6 using continue statement #include using namespace std; int main() { if (i = 6) continue; else cout<<i<<" " } return 0; } Output: 1 2 3 4 5 7 8 9 10 |
|