subject

Assume there is a variable, h already associated with a positive integer value. write the code necessary to compute the sum of the first h perfect squares, starting with 1. (a perfect square is an integer like 9, 16, 25, 36 that is equal to the square of another integer (in this case 3*3, 4*4, 5*5, 6*6 associate the sum you compute with the variable q. for example, if h is 4, you would assign 30 to q because the first 4 perfect squares (starting with 1) are: 1, 4, 9, 16 and 30==1+4+9+16.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:20
The north and south regions had very diferent economies in the 1800s.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Which of the following would you find on a network
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
You know the right answer?
Assume there is a variable, h already associated with a positive integer value. write the code neces...
Questions
question
History, 23.04.2020 23:54
question
Mathematics, 23.04.2020 23:54
question
English, 23.04.2020 23:54
question
English, 23.04.2020 23:54
Questions on the website: 13722363