Page not loading? Try clicking here.
Placeholder

#147

Loop - Formative Assessment 8 1s 32MB

Problems

Write a program that inputs a natural number n and outputs it separated by spaces as in the "Example Output".

NOTE: Numbers are separated by spaces, but there are no blank lines between them.


Example #1

3
1 2 3

4 5
6

Example #2

5
1 2 3 4 5 
6 7 8 9
10 11 12
13 14
15

Source

자기주도C언어프로그래밍

You must sign in to write code.