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 02:00
What is the largest decimal number that can be represented by a binary number with 4 place values? (remember, each place in a binary number has a value of a power of 2, starting in the ones place with 20.)
Answers: 3
question
Computers and Technology, 22.06.2019 09:00
Which best describes the condition under which the unicode output is the same as plain text?
Answers: 3
question
Computers and Technology, 22.06.2019 16:20
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
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
Mathematics, 29.09.2020 06:01
question
Physics, 29.09.2020 06:01
question
Mathematics, 29.09.2020 06:01
Questions on the website: 13722363