Teachers.io
Assignment Details
Program - Break and Continue
Academic Year 2018/19
Date Due
Dec. 13, 2018
Additional Info
#include <iostream>
using namespace std;
int main()
{
for (int i = 1; i <= 50; ++i)
{
if ( i == 6 || i == 9 || i ==10 || i==45)
{
continue;
}
cout << i << "\t\t\t";
}
return 0;
}
Write the following code as a:
1. Do While
2. Do While Loop