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

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

PROGRAMMING:4-2 judge leap year

Luz5年前 (2021-05-10)435
4-2 input a positive integer year to judge whether year is a leap year.###Input format:For example, enter a positive int…

PROGRAMMING:4-4 input Apple grade and quantity, calculate and output AP

Luz5年前 (2021-05-10)391
There are four grades of apples in 4-4 Apple Store: Grade I 5.50 yuan / kg, grade II 4.30 yuan / kg, grade III 3.00 yuan…

PROGRAMMING:5-3 calculates the sum of 1-1 / 2 + 1 / 3-1 / 4 + 1 / 5 +... + 1 / m

Luz5年前 (2021-05-10)501
5-3 calculate the sum of sum = 1-1 / 2 + 1 / 3-1 / 4 + 1 / 5 +... + 1 / m, where m is input from the keyboard, and the o…

PROGRAMMING:5-4 finding the greatest common divisor of M and n

Luz5年前 (2021-05-10)388
5-4 find the greatest common divisor of M and N, where m and N are input from the keyboard.###Input format:For example,…

PROGRAMMING:5-5 output an integer in reverse order

Luz5年前 (2021-05-10)437
5-5 input a positive integer and output the number in reverse order. For example, input 2019 and output 9102.###Input fo…

PROGRAMMING:4-5 postgraduate entrance examination

Luz5年前 (2021-05-10)436
There must be many students preparing for the postgraduate entrance examination in the future. Take a university in Hebe…

PROGRAMMING:sum and average

Luz5年前 (2021-05-10)411
Input 4 integers, print their sum and average.### Input Specification:Input 4 integers in one line, separate each other…

PROGRAMMING:Find the sum of sequence 2 / 1, 3 / 2, 5 / 3

Luz5年前 (2021-05-10)370
Function: find the sum of the first n items of a fractional sequence 2 / 1, 3 / 2, 5 / 3, 8 / 5, 13 / 8, 21 / 13.Note: t…

PROGRAMMING:Calculate the sum of natural numbers within k that can be divisible by 13 or 17

Luz5年前 (2021-05-10)390
Function: calculate the sum of the largest 10 natural numbers within k that can be divided by 13 or 17. If the number is…

PROGRAMMING:Finding the sum of the first n Fibonacci sequences

Luz5年前 (2021-05-10)371
Function: find the sum of the first n terms of Fibonacci sequence with function.Note: Fibonacci sequence is the first va…