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, 21.06.2019 17:00
Ineed a good science fair name i’m doing a homemade water filter and i have no idea what the title should be plz
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
You know the right answer?
Write an console application called squaresandcubes that asks a user for a number and then prints ou...
Questions
question
History, 20.04.2021 18:50
question
Social Studies, 20.04.2021 18:50
question
Mathematics, 20.04.2021 18:50
question
Mathematics, 20.04.2021 18:50
question
Mathematics, 20.04.2021 18:50
Questions on the website: 13722367