subject
Computers and Technology, 25.05.2021 05:00 AT3P

given a variable n that contains a positive integer values use two additional variables, k and total to write a for loop to compute the sum of the cubes of the first n counting numbers, and store this value in total. thus your code should put 1*1*1+2*2*2+3*3*3+...n*n*n into total. use no variables other than n, k,and total

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
In which phase does software coding and testing happen in the spiral model? the spiral model does not have a separate testing phase. both, software coding and testing occurs during the phase.
Answers: 3
question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
You know the right answer?
given a variable n that contains a positive integer values use two additional variables, k and total...
Questions
question
Mathematics, 28.06.2021 08:10
question
Chemistry, 28.06.2021 08:10
question
Mathematics, 28.06.2021 08:10
question
Biology, 28.06.2021 08:10
question
Social Studies, 28.06.2021 08:10
question
Mathematics, 28.06.2021 08:10
Questions on the website: 13722363