当前位置:首页
> Luz 第2674页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:10 positive and negative numbers
Input 10 integers from the keyboard to count the number of positive and negative numbers respectively.Input format:Enter…
PROGRAMMING:10 negative numbers
Input 10 integers from the keyboard to count the number of negative numbers.Input format:Enter 10 integers separated by…
PROGRAMMING:Sorting by selection
Input 10 unordered integers and sort them in ascending order by selection method. Note: only 3 rounds are required.###In…
PROGRAMMING:Filled square matrix
Generate and output the following form of square matrix.1 2 2 2 2 2 13 1 2 2 2 1 43 3 1 2 1 4 43 3 3 1 4 4 43 3 1 5 1 4…
PROGRAMMING:The number [1,40] divisible by 3
Output all numbers between [1,40] that can be divided by 3.###Output format:From small to large, output the number that…
PROGRAMMING:Reverse order
The one-dimensional array composed of N integers is re stored and output in reverse order (n ˂ 10).###Input format:The f…
PROGRAMMING:Highest score, lowest score, average score
Input the scores of 6 students from the keyboard, and count the highest score, lowest score and average score.###Input f…
PROGRAMMING:[1100] the number of numbers divisible by 3
Output the number of all numbers divisible by 3 between [1100].###Output format:Output the result directly without any a…
PROGRAMMING:The sum of the numbers in an array divisible by 5
There are 10 integers in a one-dimensional array. Find the sum of all the integers that can be divided by 5.###Input for…
PROGRAMMING:The maximum value of each row and the sum of each row in a two-dimensional array
Find the maximum value of each row and the sum of each row in a 3 * 3 two-dimensional array.###Input format:Enter nine i…