Computers and Technology
23.01.2021 23:00
101
159
4
Solved by an expert

What is output? c = 1 sum = 0 while (c 10): c = c + 3 sum = sum + c print (sum)

What is output? c = 1 sum = 0 while (c < 10): c = c + 3 sum = sum + c print (sum)
Show Answers
ethanmel21
ethanmel21
4,7(50 marks)

21

Explanation:

The values of c that make it into the loop are 1, 4, 7.

The values that are added to sum are 3 higher, i.e., 4,7 and 10.

The sum of those is 21.

p.s. why did you not run the program yourself?

sciencecreation87
sciencecreation87
4,6(44 marks)

su

Explanation:

Popular Questions about the subject: Computers and Technology

What do we call a subset of new media in which groups and their fans can interact...
Computers and Technology
15.02.2022 13:58
What are some technology tends of 2017-2018?...
Computers and Technology
06.03.2023 08:27
Abutton that performs an action when the user clicks on the button is a(n) button....
Computers and Technology
27.03.2021 09:19
An administrator needs to examine ftp commands that are being passed to a server....
Computers and Technology
12.04.2021 18:22
Asales report that is current at the time the user accessed it on a web server is...
Computers and Technology
05.06.2021 01:54
Notifications can be added to events: Manually Automatically Globally Manually and...
Computers and Technology
15.09.2021 10:28
Heres more points to the ones in need.. :)...
Computers and Technology
10.03.2021 18:08
And more enjoy them ;)...
Computers and Technology
18.06.2023 23:38
Priya shares her sound files with other students. Before sharing the sound files....
Computers and Technology
06.03.2021 19:08
You will write a method that will calculate the earned run average (ERA) of a baseball...
Computers and Technology
23.12.2022 09:14

New questions by subject

What is the result of subtracting in the division problem shown below? 3 x squared...
Mathematics
14.01.2022 02:10
Members of a youth group held a bake sale to raise money for their summer trip....
Mathematics
30.10.2022 21:46
When do the factor pairs start to repeat?...
Mathematics
19.12.2022 08:45
In a modern democracy A. elected representatives are expected to vote based on their...
History
21.05.2020 08:33
A researcher needs 25 mL or 45% base Solution for a certain expiriment, but she...
Mathematics
15.06.2021 13:51
Refer to the Newsela article Georgetown to Give Slave Descendants Priority for Admission....
History
14.08.2022 14:01
Based on the title, what inference can you make after reading the passage โ€œA beakers...
English
18.01.2020 16:24
This Operating System was basically an upgrade to Windows 98 and was designed for...
Computers and Technology
13.01.2021 10:37
HELP ASAP!! BEING TIMED What type of sphere is a cliff? Atmosphere Cryosphere Geosphere...
Physics
28.03.2021 19:01
In what ways does postmodern literature reflect that atmosphere of chaos and violence...
English
19.08.2021 12:46
#
#
#
#
# #

We expand our knowledge with many expert answers