当前位置:首页
> Luz 第2703页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Calculating the sum of digits
Input an integer number, and then calculating the sum of each digit.### Input Specification:Input an 3-digit-integer.###…
PROGRAMMING:Greeting to numbers
Input a number, and say hello to the number.### Input Specification:Input an integer number.### Output Specification:Pri…
PROGRAMMING:Table of Squares and Cubes
Using only the techniques you learned in this chapter, writea program that calculates the squares and cubes of the numbe…
PROGRAMMING:Separating Digits in an Integer
Write a program that inputs one five-digit number, separatesthe number into its individual digits and prints the digits…
PROGRAMMING:Multiples
Write a program that reads in two integers and determines and prints if the firstis a multiple of the second. The questi…
PROGRAMMING:Comparing Three Integers
Write a program that inputs three different integers from the keyboard, then prints the smallest and the largest of the…
PROGRAMMING:Additional questions - maze
Snow White is trapped in a maze the size of M \ * n. the obstacles in the maze are impassable. In the maze, s stands for…
PROGRAMMING:Body Mass Index Calculator
To determine whether a person is overweight or obese, you can use a measure called the body mass index (BMI). The formul…
PROGRAMMING:Drawing
A very simple question is to draw the following figure with the five capital letters of cafuc:![ 1.jpg](~/138ef098-04b0-…
PROGRAMMING:Knight's gold coin
The king rewarded his loyal knights with gold coins. The knight got a gold coin on his first day in office. For the next…