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
gulaghasi [49]
3 years ago
8

Write a program that inputs numbers and keeps a running sum. When the sum is greater than 100, output the sum as well as the cou

nt of how many numbers were entered.
Sample Run
Enter a number: 1
Enter a number: 41
Enter a number: 36
Enter a number: 25

Sum: 103
Numbers Entered: 4
Hint: If you get an EOF error while running the code you've written, this error likely means you're asking for too many inputs from the user.
Computers and Technology
1 answer:
Eduardwww [97]3 years ago
3 0
In python:
total = 0
i = 0
while total <= 100:
number = int(input("Enter a number: "))
i += 1
total += number
print("Sum: {}".format(total))
print("Numbers Entered: {}".format(i))
You might be interested in
What is a sub folder in ICT​
Temka [501]

Answer:

A sub folder is a folder within a folder.

Explanation:

A subfolder on a computer is a folder inside of another folder. For example, someone may create a main folder for their music and then create subfolders to separate the genres of music.

Additionally, "sub" prefix means "under" or within.

Hope this helps.

3 0
2 years ago
Read 2 more answers
What are three to five (3-5) key differences and features in Windows Server 2016 versus 2012?
Kipish [7]

Answer:

Find the features and differences below.

Explanation:

Five key features of the 2012 version of the Windows Server include;

1. Metro-style start button which disables the old start button.

2. Hyper V which enables the creation and use of a virtual machine.

3. Resilient file system (ReFS file system), aimed at managing large data and maintaining their integrity.

4. New Windows Task management, and

5. Internet protocol address management

Key features of the 2016 Windows Server include;

1. Nested virtualization

2. Secure boot

3. Nano server

4. Windows container, and

5.  Docker support.

The differences between the two versions are;

1. While the 2016 version would need a hard and software upgrade, the 2012 version would not need an upgrade.

2. The 2016 version is more expensive than the 2012 version.

3. The 2016 version also incorporates the features of the 2012 version, while the 2012 version only has its unique features.

4 0
3 years ago
Imprisonment for a first DUI conviction is not more than ___
lawyer [7]
Up to 6 months and a $500-$2000 fine
7 0
3 years ago
Does anybody have the code to 2.19.4: Guess a Number 2.0 in codeHS??
Tcecarenko [31]

Answer:

speed(0)

secret_number = 9

pensize(10)

def green_check():

   color("green")

   penup()

   backward(25)

   right(45)

   pendown()

   forward(35)

   left(90)

   forward(75)

   

def draw_arrow():

   color("red")

   left(90)

   forward(50)

   left(45)

   backward(25)

   forward(25)

   right(90)

   backward(25)

   forward(25)

   left(45)

   backward(100)

   forward(50)

   right(90)

   

user_number = int(input("Guess a number between 1 and 10: "))

while user_number != secret_number:

   if user_number < secret_number:

       draw_arrow()

   else:

       left(180)

       draw_arrow()

       right(180)

   user_number = int(input("Guess a number between 1 and 10: "))

   clear()

   

green_check()speed(0)

secret_number = 9

pensize(10)

def green_check():

   color("green")

   penup()

   backward(25)

   right(45)

   pendown()

   forward(35)

   left(90)

   forward(75)

   

def draw_arrow():

   color("red")

   left(90)

   forward(50)

   left(45)

   backward(25)

   forward(25)

   right(90)

   backward(25)

   forward(25)

   left(45)

   backward(100)

   forward(50)

   right(90)

   

user_number = int(input("Guess a number between 1 and 10: "))

while user_number != secret_number:

   if user_number < secret_number:

       draw_arrow()

   else:

       left(180)

       draw_arrow()

       right(180)

   user_number = int(input("Guess a number between 1 and 10: "))

   clear()

   

green_check()

Explanation:

It's right

6 0
3 years ago
Some misconceptionsabout communication are:
IgorLugansk [536]

Answer:

<u>All of the given options</u>

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

Communication is an insanely important and useful, but there are a lot of misconceptions about communication. Based on the answers given in the question, the correct answer would be <u>"All of the Given Options"</u>

Communication can solve many problems but the statement that it can solve all problems is not completely accurate. Whether communication can solve a specific problem depends varies from person to person.

Communication can physically break down since not everyone speaks the same language not everyone can understand each other. Also another physical way is that certain dialogue choices can lead to physical confrontation.

Lastly, the meaning of a word can mean different things to different people. For example, "Happiness" every single person has a unique definition of happiness while others simply say it doesn't exist.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

6 0
3 years ago
Other questions:
  • Which is true regarding pseudocode?
    9·2 answers
  • Holly would like to run an annual major disaster recovery test that is as thorough and realistic as possible. She also wants to
    5·1 answer
  • External network security threats can include management failure to support organization-wide security awareness, inadequate sec
    12·1 answer
  • What does the Chart Elements option allow you to change? A. Values B. Color C. Style D. Axis titles
    13·1 answer
  • 6.
    14·2 answers
  • Select the answer that best describes the activity
    5·2 answers
  • • Write a program that asks the user to enter a number of seconds. • If there are less than 60 seconds input, then the program s
    6·2 answers
  • Write down a pair of integers whose sum is​ 0
    5·1 answer
  • an organization wants to use its computer to make video calls with suppliers overseasename two input and two output device that
    8·1 answer
  • A __________ search engine focuses on a specific subject.<br><br>answer : Specialized
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!