+ 1
Write a program to print this through nested for loops -> (Hint- out=out*(i-j+1)/j)
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
1 Answer
0
void f(){
for (int i = 0; i < 1; i++) {
cout << " 1" << endl;
cout << " 1 1" << endl;
cout << " 1 2 1" << endl;
cout << " 1 3 3 1" << endl;
cout << "1 4 6 4 1" << endl;
}
}
sorry