Make a c++ program using nested loop that will display this output: 11 12 13 14 15 11 12 13 14 11 12 13 11 12 11
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
#include <iostream>
using namespace std;
int main() {
int start=11;
int end=16;
while (end > start) {
for (int i=start; i<end; i++) {
cout << i << " ";
}
cout << endl;
end--;
}
return 0;
}