You are given a positive integer N. You have to print N rows as follows.
The first row consists of one 0, the second row 2 zeroes, and so on,
until the Nth row, which consists of N zeroes.
Note : NPTEL follows gcc compiler which doesn't supports conio.h package and it always to be started as int main() and should return a integer value
Note : NPTEL follows gcc compiler which doesn't supports conio.h package and it always to be started as int main() and should return a integer value
0 comments:
Post a Comment