当前位置:首页
> Luz 第2799页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:4-2 judge leap year
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
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
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
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
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
There must be many students preparing for the postgraduate entrance examination in the future. Take a university in Hebe…
PROGRAMMING:sum and average
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
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
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
Function: find the sum of the first n terms of Fibonacci sequence with function.Note: Fibonacci sequence is the first va…