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
butalik [34]
3 years ago
11

I need help with this question!

Computers and Technology
1 answer:
Arlecino [84]3 years ago
6 0

Answer:

5 and 10

Explanation:

Given

The above code segment

Required

Determine the outputs

Analysing the code segment line by line

[This initialises c to 0]

c = 0

[The following iteration is repeated as long as c is less than 10]

while (c < 10):

[This increments c by 5]. Recall that c is initially 0. Hence, c becomes 0 + 5 = 5

c = c + 5

[This prints the value of c which is 5]

print(c)

The iteration is then repeated because the condition is still true i.e. 5 is less than 10

c = c + 5 = 5 + 5 = 10

[This prints the value of c which is 10]

print(c)

The iteration won't be repeated because the condition is now false i.e. 10 is not less than 10.

Hence, the output is 5 and 10.

You might be interested in
CALL NOW $+1-855-241-6569$ aol mail not working on windows ## aol desktop gold email not working||USA||**2020*
LenKa [72]

Answer:

extra 5 points lol

Explanation:

6 0
4 years ago
Given the integer variables x , y , and z , write a fragment of code that assigns the smallest of x , y , and z to another integ
exis [7]

Answer:

int min

if (x<=y) then

 min=x

else

 min=y

endif

if (min>=z) then

 min=z

endif

Explanation:

I wrote a simple, generic piece of code that first compares the x and y variables and assigns to min the smallest of the two values, then it compares the min variable to the third value and check if the value stored in min is bigger than z, in that case, it means that z is the smallest of all three and it assigns the value of z into min. I took into consideration the possibility that two or the three numbers be equal, which it will still throw the smallest values of the three.

6 0
3 years ago
WILL MARK BRAINLIEST!!!!!!!!!!!
lapo4ka [179]

<u>Answer</u>

The fundamental colors of a scene is Green, Blue and Red.

3 0
3 years ago
Read 2 more answers
You are going to be installing a videoconferencing system. One of the requirements of the system is that only workstations that
Westkost [7]

Answer:

229.1.100.1.

Explanation:

The user will have a video conferencing device installed. Some of the device's demands are that those desktop computers running the conferencing client app collect videoconference associated packets. He must allocate the video conferencing app to such an address.

So, the addresses 229.1.100.1 are suitable according to the following scenario.

5 0
3 years ago
A(n) _____ is usually a long binary number that is used with the encryption algorithm to ""lock"" the characters of the message
Fantom [35]

Answer: A key

Explanation:

6 0
4 years ago
Read 2 more answers
Other questions:
  • How many host addresses are needed in the largest required subnet?
    9·1 answer
  • What is the purpose of a title slide? A) To add titles to each slide B) To introduce the presentation C) To describe the resolut
    12·2 answers
  • Letm1, m2,···mnbe distinct numbers on the number line, in the increasing order. Your goalis to color all of them blue. You have
    9·1 answer
  • A ____ is commonly a single device or server that attaches to a network and uses TCP/IP-based protocols and communications metho
    9·1 answer
  • XBRL: a. Is an XML-based language b. Can be read by almost any software package and easily searched by Web browsers c. All of th
    9·1 answer
  • Analyze the following code. public class Test { public static void main(String[] args) { double radius; final double PI= 3.15169
    14·1 answer
  • Suppose L is a LIST and p, q, and r are positions. As a function of n, the length of list L, determine how many times the functi
    8·1 answer
  • hãy lựa chọn một doanh nghiệp kinh doanh theo loại hình siêu thị việt nam em hãy tìm hiểu doanh nghiệp và thực hiện theo yêu cầu
    10·1 answer
  • The __________ tool is present under the Windows Administrative Tools folder of the Start menu. Your answer​
    13·1 answer
  • Please help me answer this question
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!