subject
Mathematics, 29.09.2019 03:30 pookie879

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

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 17:20
Four airplanes carrying a total of 400 passengersarrive at the detroit airport. the airplanes carry, respectively,50, 80, 110, and 160 passengers.a) one of the 400 passengers is selected uniformly at random.let x denote the number of passengers that were on theairplane carrying the randomly selected passenger. find var(x)for x as given in the problemb) one of the 4 airplane drivers is also selected uniformly atrandom. let y denote the number of passengers on the chosen driver’s airplane. find var(y) for y as given in the problem
Answers: 3
question
Mathematics, 22.06.2019 00:20
Aline is perpendicular to another line m2= (-1/m1), where m1 is the slope of the original line and m2 is the slope of the perpendicular line. which of the following equations represents the line that passes through the point (-2,1) and is perpendicular to the line below?
Answers: 2
question
Mathematics, 22.06.2019 02:00
Aladder that is 20 ft. long against the side of a building. f the angle formed between the ladder and the ground is 75 degrees, how far is the bottom of the ladder from the base of the building?
Answers: 3
question
Mathematics, 22.06.2019 03:00
Round to the nearest ten thousandth.i dont get this
Answers: 1
You know the right answer?
Given int variables k and total that have already been declared, use a for loop to compute the sum o...
Questions
question
Mathematics, 01.11.2019 16:31
Questions on the website: 13722361