+ 1
Using nested loop....
& & & & & & & & & & & & & & & &
1 Answer
+ 6
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int i = 1;
int j = 7;
int k = 0;
for (i = 1; i <= 4; i++)
{
cout << setw(9 - j);
for (k = 0; k < j; k++)
{
cout << "& ";
}
j -= 2;
cout << endl;
}
return 0;
}