Computers and Technology
Computers and Technology, 12.01.2021 05:20, TravisI00

Consider the following code: x = int(input ("Enter a value: "))
c = 0
sum = 0

while (c < 10):
x = int(input ("Enter a value: "))
c = c + 1
sum = sum + x
print ("\n\nSum: " + str(sum))

What type of loop is it?
A. neither, the loop will not run
B. count variable loop
C. user input loop

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:30, staz13wiggins
How many pairs of chromosomes do human body cells contain?
Answers: 2
image
Computers and Technology, 21.06.2019 20:30, oofoofoof1
Write a program that reads the file, then displays the average number of steps taken for each month. (the data is from a year that was not a leap year, so february has 28 days.) your program needs to use at least 3 functions not counting main and display the information in a neat well formatted fashion.
Answers: 3
image
Computers and Technology, 22.06.2019 22:20, gingerham1
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
image
Computers and Technology, 23.06.2019 07:00, MissSmartyPants88
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
Do you know the correct answer?
Consider the following code: x = int(input ("Enter a value: "))
c = 0
sum = 0

Questions in other subjects:

Konu
Mathematics, 07.01.2021 19:10
Konu
Chemistry, 07.01.2021 19:10