Problem2389--for循环专题练习---显示1-n的全部数字

2389: for循环专题练习---显示1-n的全部数字

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 349  Solved: 309
[Status] [Submit] [Creator:]

Description

输入一个数字n,将1-n的数字全部都显示出来,并用空格隔开。

Input

仅一个正整数n(1<=n<=1000)

Output

输出n个数,为1到n之间的所有的数,并用空格隔开

Sample Input Copy

5

Sample Output Copy

1 2 3 4 5

Source/Category

 基础C