I need help wirting a program that will count from 100 to 150 but in six lines, i have it were it contiues to count on one line, i dont know how to six lines using one single loop. i have this so far: Can some one help! thanks
for (int num=100;num <= 150;num+=2)
cout << num << " " ;
EX. 100 102 104 106 108 110
112 114 116 118 120 122
124 126 128 130 132 134
136 138 140 142 144 146
148 150