当前位置:首页
> Luz 第2928页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:3-1. Judge and output divisor
Write a program to input two integer values as follows. If the latter is the divisor of the former, then "B is the divis…
PROGRAMMING:Compare size
Input three different integers, the three integers correspond to the ASCII values of the three letters, and output the t…
PROGRAMMING:3-4. Compare two integer values and output the size result
Write a program to enter two integers as follows,*If the two values are equal, a and B are equal*If a is greater than B,…
PROGRAMMING:3-3. Input integer and output its absolute value
Write a program, such as the following input an integer value, show its absolute value.```Please enter an integer: - 8 (…
PROGRAMMING:3-6. Calculate the minimum of three integers
Write a program to calculate the minimum value of the three integers and display.*Note the use of if statements.```Pleas…
PROGRAMMING:Narcissistic Narcissus
Narcissistic number is the name given by mathematician Ma Daqi in 1966, also known as "self respecting number", "reduced…
PROGRAMMING:Time conversion output
Enter an integer in seconds and convert it to hours, minutes and seconds. The output format is shown in the example( Dis…
PROGRAMMING:Calculate BMI
(Health app: calculate BMI) body mass index (BMI) is a measure of health by weight. The weight in kilogram is divided by…
PROGRAMMING:Payroll output
(financial application: Payroll) write a program, read the following information, and then print a payroll.```Employee's…
PROGRAMMING:Binary addition of integers
Enter two integers with the size between '[0,63]'. Find their binary sum, which is represented by 8 bits.###Input format…