subject

Write an console application called squaresandcubes that asks a user for a number and then prints out a table with the number, its square, and its cube. the program then adds one to the number and does the same on the next line. the program then adds one to the number again and does the same on the third line. the program then adds one to the number again and does the same on the fourth line:
enter a number? 3
number square cube
3 9 27
4 16 64
5 25 125
6 36 216

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
You know the right answer?
Write an console application called squaresandcubes that asks a user for a number and then prints ou...
Questions
question
Mathematics, 27.07.2019 16:10
question
Mathematics, 27.07.2019 16:10
Questions on the website: 13722360