问题4289--Print the numbers 1 to 4 on the same line

4289: Print the numbers 1 to 4 on the same line

[命题人 : ]
时间限制 : 1.000 sec  内存限制 : 128 MB

题目描述

Write a program that prints the numbers 1 to 4 on the same line. Write the program using the following
methods:
a. Calling the function printf() once with four format specifiers.
b. Calling the function printf() four times.

来源/分类