-->
当前位置:首页 > Luz 第2988页
Luz

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

PROGRAMMING:Finding series

Luz5年前 (2021-05-10)402
Input a positive integer n, calculate and output the sum of the first n terms of S.S = 1 - 1/2 + 1/3 - 1/4 + 1/5 - 1/6 +…

PROGRAMMING:Finding twin primes

Luz5年前 (2021-05-10)392
If the difference between two primes is 2, they are twin primes.Input two positive integers n and m, find all the twin p…

PROGRAMMING:Finding the value of piecewise function

Luz5年前 (2021-05-10)431
For any input floating-point number x, use the following formula to calculate and print out the value of Y.###Input form…

PROGRAMMING:One step, two steps

Luz5年前 (2021-05-10)400
You have to cross the river, but there is no bridge. There is only a stone road made of a row of stones. You can only cr…

PROGRAMMING:Campus construction

Luz5年前 (2021-05-10)403
The campus is under construction. The road is the blood vessel of the campus. So the problem is, we now know the distanc…

PROGRAMMING:Invert array

Luz5年前 (2021-05-10)380
Keyboard input multiple integers, with 9999 end, the number is not more than 30, will be stored in the array v. Then the…

PROGRAMMING:Letter frequency statistics

Luz5年前 (2021-05-10)462
Input a string with arbitrary case, no more than 200 characters in length, count the frequency of letters a, B, C, D in…

PROGRAMMING:Output letters

Luz5年前 (2021-05-10)354
Enter a positive integer n, and use the for loop statement to output the uppercase letter order (i.e. from a to Z), with…

PROGRAMMING:Looking for missing data

Luz5年前 (2021-05-10)454
There are several numbers, the number is an integer starting from 0, the maximum value is not more than 299, the number…

PROGRAMMING:Print graphics

Luz5年前 (2021-05-10)509
Enter the number of lines to print, and then print the specified pattern with spaces and asterisks.###Input format:Enter…