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
A study by the Pew Internet and American Life Project reports that ________ percent of Americans research products and services
katrin2010 [14]

Options:

A. 40;35

B. 60;30

C; 70;35

D. 60;35

Answer:D) 60; 35.

Explanation:Pew Research center is a Private, nonpartisan fact tank, which conducts opinion polls on public related issues such Demographic,political,economic, religious and Environmental topics it was established in the year 2014 in Washington DC,United States of America.

Pew research center conducts it's opinion polls and research through various platforms such as Social media,internet, questionnaires etc.

3 0
3 years ago
Create a text file content.txt and copy-paste following text (taken from Wikipedia) into it: A single-tasking system can only ru
elixir [45]

Answer:

s0 you should figure that out because I don't know how to

Explanation:

good luck

8 0
3 years ago
Most people have unexpected expenses at some time. Yes. No.
VladimirAG [237]

Answer:

Yes

Explanation:

8 0
3 years ago
Text rotation is also called _________________.
strojnjashka [21]

Text rotation is also called B. Orientation, in which they change how the page is viewed, commonly portrait or landscape.

hope this helps

8 0
3 years ago
Posts that you delete _____.
Nataly [62]
May have already been shared
6 0
3 years ago
Other questions:
  • Let’s say you are given the task of retouching a famous model’s photograph. To what extent will you retouch the image? In your o
    12·2 answers
  • Grace is the sub-editor in a business firm. which feature of a word processing program would she use to make her changes visible
    14·1 answer
  • Which answer best describes an unsubsidized federal loan?
    7·1 answer
  • The exponential distribution is often used to model what in a queuing system?
    12·1 answer
  • Write pseudocode instructions to carry out each of the following computational operations:1. Determine the area of a triangle gi
    12·1 answer
  • These operating systems were referred to as command-based. A.Android and MS-DOS B.iOS and Windows C.LINUX and UNIX D.MS-DOS and
    12·2 answers
  • Which of these statements regarding mobile games is true? A. They are typically played indoors. B. They have detailed environmen
    15·2 answers
  • Which sentence in the passage shows an effective way to protect your document from misuse? Claire has saved her research paper o
    14·1 answer
  • What do you mean by hardware and software?<br>​
    12·2 answers
  • Which option in PowerPoint allows users to configure the number of columns and rows manually, using numerical values?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!