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 17:00
Idont understand math at all! : o( use this scenario to answer the remaining questions: brenton purchased a new bedroom set for $4,500.00. he lives in arizona and pays a 8.75% sales tax. if he made a 50% down payment and financed the rest, what amount did he finance? what is the total sales tax brenton will pay? enter your answer in currency format, round to the nearest cent. what was brenton's total amount financed? enter your answer in currency format, round to the nearest cent.
Answers: 3
question
Mathematics, 21.06.2019 18:00
Simplify the expression. -2/5(10+15m-20n)
Answers: 1
question
Mathematics, 21.06.2019 18:30
Consider the function f(x)=-5x+3 what is f(-2)
Answers: 2
question
Mathematics, 21.06.2019 19:00
Which graph represents the parent function of y=(x+2)(x-2)
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, 21.02.2021 06:00
question
Biology, 21.02.2021 06:00
question
Mathematics, 21.02.2021 06:00
question
Social Studies, 21.02.2021 06:00
question
Mathematics, 21.02.2021 06:00
question
English, 21.02.2021 06:00
question
English, 21.02.2021 06:00
question
Mathematics, 21.02.2021 06:00
question
Biology, 21.02.2021 06:00
Questions on the website: 13722363