当前位置:首页
> Luz 第2939页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:4.10 - alternate the specified number of * lines
Write a program to display * continuously as follows, the total number is equal to the integer value entered. In additio…
PROGRAMMING:4.11 - reverse display of integers
Modify the program in code listing 4-10 to display the integer value of the input as shown below.-----From exercise 4-11…
PROGRAMMING:Sequence segmentation
Given an integer sequence, the longest consecutive integer sequence in the sequence is calculated as a segment. How many…
PROGRAMMING:4.9 - alternate the specified number of + and - symbols
Write a program to alternately display + and - as shown below. The total number is equal to the integer value entered. I…
PROGRAMMING:4.13 - sum 1 to n
Write a program to find the sum of 1 to n. The value of n is entered from the keyboard.-----From exercise 4-13```The val…
PROGRAMMING:4.14 - circulates the number of specified digits
Write a program, such as the following, according to the input integer, loop display 1234567890, display the number of d…
PROGRAMMING:4.12 - displays the number of digits of an integer
Write a program to read a positive integer and display its digits.Note: in code listing 4-10, the number of cycles of th…
PROGRAMMING:4.15 - display height and weight control table
Write a program to show the comparison table of height and standard weight as follows. The height range and interval dis…
PROGRAMMING:Minimum difference
Given n numbers, please find out the two numbers with the smallest difference (absolute value of difference) and output…
PROGRAMMING:Multiple determination of 3,5,7 (exercise 6-4, fundamentals and applications of Python programming, Higher Education Society)
Programming function: input an integer to judge whether it can be divided by 3, 5 and 7 at the same time. If it can be d…