subject

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

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:50, brianna4455
Which of the following had the greatest influence on opening the internet to the generly public
Answers: 1
image
Computers and Technology, 22.06.2019 10:50, Isaiahtate053
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
image
Computers and Technology, 22.06.2019 20:00, ayoismeisalex
When you mouse over and click to add a search term this(these) boolean operator(s) is(are) not implied. (select all that apply)?
Answers: 1
image
Computers and Technology, 23.06.2019 02:00, hctlawton
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
You know the right answer?
Consider the following code: x = int(input ("Enter a value: "))
c = 0
sum = 0

Questions in other subjects: