Adapted by Neilor Tonin, URI Brazil
Write a program that reads a number T and fill a vector N[1000] with the numbers from 0 to T-1 repeated times, like as the example below.
The input contains an integer number T (2 ≤ T ≤ 50).
For each position of the array N, print "N[i] = x", where i is the array position and x is the number stored in that position.
Input Sample | Output Sample |
3 |
N[0] = 0 |