URI solution of 1146-Growing Sequences
Today i have solved URI beginner problem 1146-Growing Sequences.
it says our program must read an integer input indefinited times (the program must stop when input is equal to zero).
Problem link : URI 1146-Growing Sequences
Input
The input contains many integer numbers. The last one is zero.
5 10 3 0
Output
1 2 3 4 5 1 2 3 4 5 6 7 8 9 10 1 2 3
Comments
Leave a comment
You are not LoggedIn but you can comment as an anonymous user which requires manual approval. For better experience please Login .