+ 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

7th Dec 2016, 3:04 PM
Ishan Jain
Ishan Jain - avatar
1 ответ
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
11th Dec 2016, 9:53 PM
Kabe