1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Delvig [45]
3 years ago
5

Given int variables k and total that have already been declared, use a for loop to compute the sum of the squares of the first 5

0 counting numbers, and store this value in total. thus your code should put 1*1 + 2*2 + 3*3 +... + 49*49 + 50*50 into total. use no variables other than k and total.
Mathematics
1 answer:
Svetach [21]3 years ago
4 0
I don't know what language you are working with, but
set Sum = 0
For k= 1 to 50
Sum = Sum + k^2
Loop
You might be interested in
A number cube is rolled two times in a row. find the probability it will land on 2 on the first roll and a number greater then 4
nydimaria [60]

Answer:

The probability that it would land on 2 is 1/6. To get a greater number then 4 on the second roll would be 2/6

Step-by-step explanation:

The cube has 6 sides, with 6 different numbers. 1, 2, 3, 4, 5, and 6.

For it 2 land on 2 it has a 1 out of six chance because of it having 6 sides.

For it to land on a number greater then 2 it would be 2 out of 6 because there are only 2 numbers greater then 4, 5 and 6.

3 0
3 years ago
The graph has lines that are what
pashok25 [27]

Answer:

perpendicular

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
Write the product of 7 * 7 * 7 * 7 in exponential form
FinnZ [79.3K]
7^4 or 2401 remember exponential means exponent
4 0
4 years ago
Read 2 more answers
What is the y-intercept of the quadratic y=-2x^2-4x-5 ?<br> (-5,0)<br> (0,-2)<br> (-1,3)<br> (0,-5)
stepan [7]
Y - intercept is f(0) then (0; m)

We have:

y=-2x^2-4x-5\to f(0)=-2(0)^2-4(0)-5=-5

Answer: (0; -5)
5 0
3 years ago
Bonjour pouver vous m'aidez svp c'est l'exercice 2
BlackZzzverrR [31]

Answer:

what is this

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • A square kitchen has x feet on each side. The counters cover the length of the kitchen on two sides to a depth of 3 feet. There
    14·2 answers
  • Guys help me I need help what is 5/6 divided 1/2
    7·2 answers
  • a bag containes 8 white marbels and 48 green marbles. If a representative sample contains 2 white marblesthen how many green mar
    13·1 answer
  • Please help! I will mark you as brainliest!
    11·1 answer
  • Expand &amp; simplify (x + 10)^2
    13·1 answer
  • Write the following numbers in increasing order (list the smallest as #1 and the largest as #5)
    11·1 answer
  • PLEASE HELP!!!<br> WILL MARK BRAINLIEST!!!
    15·1 answer
  • When a man observed a sobriety checkpoint conducted by a police department, he saw 653 drivers were screened and 6 were arrested
    10·1 answer
  • 1. Find the area of a trapezium whose parallel sides are 23 cm and 12 cm, and the distance between them is 10 cm.​
    10·1 answer
  • The coordinates of the vertices of a rectangle are (−5, 2), (−5, −2 1/3 ), (2 1/2 , 2), and (2 1/2 , −2 1/3 ). Find the perimete
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!