subject

Ven int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 positive integers 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 Computers and Technology

question
Computers and Technology, 22.06.2019 12:10
1. declare a constant named cents_per_pound and initialize with 25. 2. get the shipping weight from user input storing the weight into shipweightpounds. 3. using flat_fee_cents and cents_per_pound constants, assign shipcostcents with the cost of shipping a package weighing shipweightpounds.
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. this can be done by normalizing to values between 0 and 1, or throwing away outliers. for this program, adjust the values by subtracting the smallest value from all the values. the input begins with an integer indicating the number of integers that follow. ex: if the input is 5 30 50 10 70 65, the output is: 20 40 0 60 55
Answers: 1
question
Computers and Technology, 25.06.2019 06:00
If an image has only 4 colors, how many bits are necessary to represent one pixel’s color?
Answers: 1
question
Computers and Technology, 25.06.2019 17:00
2. name the organization that works with small businesses to them grow into successful businesses.
Answers: 1
You know the right answer?
Ven int variables k and total that have already been declared, use a while loop to compute the sum o...
Questions
question
Mathematics, 25.05.2021 20:50
question
Mathematics, 25.05.2021 20:50
question
Biology, 25.05.2021 20:50
question
History, 25.05.2021 20:50