shunfurh
编程介的小学生
2019-06-30 23:58
采纳率: 92.7%
浏览 124

根据不等式计算求和用C语言的程序的编写的步骤怎么使用代码的实现的思想方法

Problem Description
One is an interesting integer. This is also an interesting problem. You are assigned with a simple task.
Find N (3 <= N <= 18) different positive integers Ai (1 <= i <= N), and

Any possible answer will be accepted.

Input
No input file.

Output
Your program’s output should contain 16 lines:
The first line contain 3 integers which are the answer for N = 3, separated by a single blank.
The following 15 lines are the answer for N = 4 to 18, as the same format.
The sample output is the first two lines of a possible output.

Sample Output
2 3 6
2 4 6 12

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

相关推荐