当前位置:首页
> Luz 第2935页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:3.11 - is the difference between two integers less than or equal to 10?
Write a program, input two integers as follows, if their difference is less than or equal to 10, then "their difference…
PROGRAMMING:"Smart students"
Problem Description: a professor of logic has three very intelligent students who are good at reasoning and mental arith…
PROGRAMMING:3.12-switch to judge odd and even numbers
[Mingjie C language exercise 3-12]Modify the program in listing 3-4 to use switch instead of if statement.Code 3-4 requi…
PROGRAMMING:What was the day before yesterday
This topic requires to read in the year, month, day, and then judge the day before yesterday.###Input format:Enter the y…
PROGRAMMING:Simple positive integer reverse order
Write a program to read in a 5-digit decimal positive integer through the keyboard, and then output the number in revers…
PROGRAMMING:Store the data in the array in reverse order and output the specified elements
This problem requires the preparation of procedures, the given n integers into the array, the array of N numbers in reve…
PROGRAMMING:Matrix multiplier
Write a program to find the result of matrix multiplying by a number. It is required to input the number of rows and col…
PROGRAMMING:4.1 - judge the sign of an integer and execute it circularly
Code listing 3 - 9 is a program to determine the sign of the integer value entered, but it quits oncePlease rewrite it t…
PROGRAMMING:4.5 - count up from 1 to a certain number
Modify the program in code listing 4-7 as follows:*Increasing from 1*Enter a large value less than 0 without wrapping*Wh…
PROGRAMMING:4.4 - enter the integer reciprocal to 1
Modify the program in code listing 4-6 to:*Decrement to 1 instead of 0*When the input value is less than 0, no line feed…