1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
baherus [9]
3 years ago
5

What is output?

Computers and Technology
1 answer:
Misha Larkins [42]3 years ago
6 0

Answer:

The output of code will be 10

Explanation:

We need to find output of following code:

C = 1

Sum = 0

while (c less than 10):

C = c + 3

sum = sum + c

print (sum)

Solution:

We will check the condition of while loop, if the condition is true, then the statements inside the loop will be executed. Since brackets are not available so, only one statement is linked with while loop.

First while loop will be executed c < 10 (1<10) the condition becomes true, and statement c=c+3 will be executed ( 4=1+3) and then loop condition will be checked (4<10) the condition becomes true, and statement c=c+3 will be executed ( 7=4+3) and then loop condition will be checked (7<10) the condition becomes true and statement c=c+3 will be executed ( 10=7+3) and then loop condition will be checked (10<10) the condition becomes false, so we will come outside loop body and execute: sum=sum+c (10=0+10) and print sum i. e 10

So, The output of code will be 10

You might be interested in
You have a spreadsheet of x values that need to
g100num [7]

Answer: Its B

Explanation:

7 0
3 years ago
Read 2 more answers
Kendra is taking a class in Finance and she has been asked to give a speech about a case study in which she's been working. She
Nezavi [6.7K]

Answer:

hcjcbfbdndndjjxjdjdjfjf

Explanation:

v

6 0
3 years ago
People are able to predict future events to some extent because: (Select all that apply)
WINSTONCH [101]

According to sources, the most probable answer to this query is 

people understand some of the physical laws of nature

all his or her past predictions are true
Thank you for your question. Please don't hesitate to ask in Brainly your queries.
8 0
4 years ago
What is the purpose of the Zoom dialog box? to put the selected range in ascending order in a query to put the selected range in
AlekseyPX

The zoom dialog box helps to enter text and expressions in tight places, such as a property sheet or Query Design view. You can resize the zoom box and change the font. And the zoom box remembers the size and font each time you use it.

Use the

5 0
3 years ago
Read 2 more answers
Why should social security numbers never be given over the telephone?
nordsb [41]
Because you never know if the person over the phone is trying to scam you or not, so if you were to give them your ssn they would use your identity for stuff that they want. I hope this helps :) 
7 0
3 years ago
Other questions:
  • These systems consist of interlinked knowledge resources, databases, human experts, and artificial knowledge agents that collect
    9·1 answer
  • The local emergency manager has the responsibility for coordinating emergency management programs and activities. A local emerge
    7·1 answer
  • Who predicted nearly 60 years ago that the rise of electronic media would create a "global village," thereby reducing the barrie
    12·1 answer
  • An
    9·1 answer
  • Consider sending a 2400-byte datagram into a link that has an mtu of 700 bytes. suppose the original datagram is stamped with th
    10·1 answer
  • What is the worst case time complexity of insertion sort where position of the data to be inserted is calculated using binary se
    13·1 answer
  • Create a CourseException class that extends Exception and whose constructor receives a String that holds a college course’s depa
    8·1 answer
  • Que es tarjeta madre resumen porfa
    13·2 answers
  • Very few games have any sort of narrative, not even a simple one that involves setting the mood through color, sound, environmen
    12·1 answer
  • Any idea how to make my simple python projects such as guess the number, mad libs, etc. even better?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!