Good day to everyone. I have a concern regarding the code and the output below.
We need to modify it by reversely copying the actual output below. Can someone lend me help with this also?
Actual Output:
1
12
123
1234
12345
123456
1234567
12345678
What the output should be like:
12345678
1234567
123456
12345
1234
123
12
1
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int i=1,j;
while (i <=8)
{
j = 1;
while (j <=1) {
cout << j;
j++;
}
cout << endl;
i++;