当前位置:首页
> Luz 第2877页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Output n prime numbers greater than x
The user inputs an integer x and outputs n primes greater than x.###Input format:An integer x and a positive integer n,…
PROGRAMMING:Find the maximum
Enter a positive integer repeat (0 ˂ repeat ˂ 10) and perform the following operations: repeatFirst input a positive in…
PROGRAMMING:Enter all completions within n
The so-called perfect number means that the sum of its factors is just its own positive integer. For example, the factor…
PROGRAMMING:Shopping (2)
The user has bought several goods (no more than 10 goods). Now, he tells you the price of each goods. You can calculate…
PROGRAMMING:Shopping (1)
The user first enters a non negative integer n, which means that he has purchased n items. Then, the user can input the…
PROGRAMMING:Output the data of object array through pointer
Design a class, establish an object array in the main function, input 5 student data (student number, grade), point to t…
PROGRAMMING:Output cuboid volume
Program and output the volume of cuboid with length of 1.5, width of 4.3 and height of 6.2. The length, width and height…
PROGRAMMING:Calculation of semicircle area and arc length
Program and output semicircle arc length with radius r = 5.3 (hint: semicircle arc length should not add diameter length…
PROGRAMMING:Calculate the total score and average score of C + + course of the whole class
Define a class student to record students' scores of C + + courses. It is required to use static data members or static…
PROGRAMMING:Introduce yourself
This topic requires you to input your name, age and native place, and then output a self introduction string.###Input fo…