subject
Mathematics, 03.08.2019 15:30 skater9919

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. submit

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 21:00
Graph the equationy=x^2 -[tex]y = x^{2} - 2[/tex]
Answers: 1
question
Mathematics, 22.06.2019 00:00
What is the area of the shaded sector?
Answers: 2
question
Mathematics, 22.06.2019 00:30
When you flip a biased coin the probability of getting a tail is 0.6. how many times would you expect to get tails if you flip the coin 320 times?
Answers: 1
question
Mathematics, 22.06.2019 03:00
M∠abc=138° and m∠def=31° . which statement is true about ∠abc and ∠def ? a: the angles are neither complementary nor supplementary. b: the angles are complementary. c: the angles are supplementary.
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
Mathematics, 11.10.2020 05:01
question
History, 11.10.2020 05:01
question
History, 11.10.2020 05:01