Write a program that reads and unspecified number of integers, determines how many positive and negative values have been read, and computes the total and average of the input values (not counting zeroes). The program ends when the user enters 0. The average must be displayed as a floating point. All other values must be displayed as an integer. (For Python)

Answers

Answer 1

Answer:

The program was wrote in the version 3.9.5 of python and it's in the homework.txt file.


Related Questions

James works on history for 9/10 of an hour he works on English for 3/10 of an hour how much longer does James work on history than on English

Answers

james works 6/10 more of an hour

PA theme is a major message that a writer convoys through a text. you have explored many themes in the hobbit one theme in the novel is that good has the ability to triumph over evil. using specific examples from the text, explain how this theme develops over the course of the novel

Answers

Answer:

The Hobbit’s main theme is Bilbo’s development into a hero, which more broadly represents the development of a common person into a hero. At the beginning of the story, Bilbo is timid, comfortable, and complacent in his secure little hole at Bag End. When Gandalf talks him into embarking on the quest with Thorin’s dwarves, Bilbo becomes so frightened that he faints. But as the novel progresses, Bilbo prevails in the face of danger and adversity, justifying Gandalf’s early claim that there is more to the little hobbit than meets the eye.??????

Explanation:

define the term malicious program

Answers

Malware, or malicious software, is any program or file that is intentionally harmful to a computer, network or server.

Find the error in the following code fragment. int a: System.out.print(a):​

Answers

Answer:

If your using java, then its supposed to be "System.out.print("a")"    

Explanation:

its supposed to have quotations

A(n) ________ is a heavily secured server located between a company's secure internal network and its firewall.

Answers

Answer: bastion host

Explanation:

Two primary disadvantages to the ______ BN type are that the routers in the network impose time delays, and routers are typically more expensive and require more management than switches. Group of answer choices

Answers

Answer: Routed backbone disadvantages are time delays and more expensive than switches

Explanation:

when demonstrating 2022 altima’s parking assistance, what steering feature should you mention when pointing out how easy the vehicle is to steer at low speeds?

Answers

Based on automobile technology, when demonstrating 2022 Altima's parking assistance, the steering feature one should mention when pointing how easy the vehicle is to steer at speed is "the Cruise Control w/Steering Wheel Controls."

What is Cruise Control w/Steering Wheel Controls?

The Cruise Control w/Steering Wheel Controls allow the driver or the user to adjust the car's speed to the present rate, either lower or higher.

The Cruise Control feature assists in providing additional time and distance between the car and another one in front when parking or highway.

Hence, in this case, it is concluded that the correct is "the Cruise Control w/Steering Wheel Controls."

Learn more about the same parking assistance in an automobile here: https://brainly.com/question/4447914

Your grandmother tells you a dollar doesn't go as far as it used to. She says the "purchasing power" of a dollar is much less than it used to be. Explain what she means. Try to use and explain terms like inflation and deflation in your answer. ​

Answers

Answer:

The obtaining influence of a dollar is substantially less on the grounds that more cash is made and causes the value of the dollar greenback to diminish, making things increasingly costly. This is called swelling. In any case, when less cash is made, the value of a dollar greenback increments and things turn out to be more affordable. This is called flattening. As the years go on, the purchasing power of a dollar decreases and decreases.

Hope that helps. x

write the feature of ms-dos ?​

Answers

Answer:

Here you go

Explanation:

Features of MS Word :

Home

This has options like font colour, font size, font style, alignment, bullets, line spacing, etc. All the basic elements which one may need to edit their document is available under the Home option.

Insert

Tables, shapes, images, charts, graphs, header, footer, page number, etc. can all be entered in the document. They are included in the “Insert” category.

Design

The template or the design in which you want your document to be created can be selected under the Design tab. Choosing an appropriate tab will enhance the appearance of your document.

Page Layout

Under the Page Layout tab comes options like margins, orientation, columns, lines, indentation, spacing, etc.  

References

This tab is the most useful for those who are creating a thesis or writing books or lengthy documents. Options like citation, footnote, table of contents, caption, bibliography, etc. can be found under this tab.

Review

Spell check, grammar, Thesaurus, word count, language, translation, comments, etc. can all be tracked under the review tab. This acts as an advantage for those who get their documents reviewed on MS Word.

Source: https://byjus.com/govt-exams/microsoft-word/

what is font tag? write the name of attribute which is used in font tag​

Answers

Answer:

The font tag is used to change the color, size, and style of a text.The font tag is having three attributes called size, color, and face to customize your fonts. To change any of the font attributes at any time within your webpage, simply use the <font> tag.

hiiiiiiiiihwdawdfgthnythgrfergthyjuhgfd

Answers

Answer:

Your answer would be gas.

Explanation:

Steam is just water just evaporated.

no i will not marry u

Which of the following applies to a trademark?
o belongs to just one company or organization
O always shown on the outside of a garment
O a way for people to copy a pattern
0 a mark that represents a product's "sold"
status

Answers

Answer:

a

Explanation:

Answer:

belongs to just one company or organization

Explanation:

edge 2021

Is this statement true or false? While in slide show mode, if you are not careful you can close the application by clicking the x on the menu bar. True false.

Answers

Considering the Microsoft PowerPoint application, it is False that while in slide show mode, if you are not careful, you can close the application by clicking the X on the menu bar.

Why is it False?

During the slide show of documents whereby the pages of documents are being passed or moved automatically, or by itself, when a user mistakenly or intentionally presses the X on the Menu Bar, the window will ask the user if he wants to save the document before closing.

Slide show in Microsoft PowerPoint is one of the techniques in which a user or Speaker can make a presentation to the audience.

Hence, in this case, it is concluded that the correct answer is False.

Learn more about Microsoft PowerPoint here: https://brainly.com/question/14388120

Answer:

"False"

Explanation:

I took the test!

Tom is not sure how to code contents such as title and meta elements. These are coded as ____ elements.

Answers

Answer:

Tom is not sure how to code contents such as title and meta elements. These are coded as head elements.

Hope that helps. x

Answer:

head elements

Explanation:

answer is above

URGENTT 2 SIMPLE EASY QUESTIONS PLZZ HELP ION UNDERSTAND COMPUTERR ILL GIVE U BRAINLEST

Answers

Answer:

I'll happy to help

Explanation:

Please make your clear. I couldn't understand!

Please clear your question I can’t understand

A ____ is a rectangular object you can click; when you do, its appearance usually changes to look pressed.

Answers

Answer:

button

Explanation:

Question 11
Methods that return a decimal value must be declared using what type?


a. int

b. void

c. double

d. String

e. null


Question 12

Which of the following is true when x = 15?


a. (x >= 15) && (x < 13)

b. !(x > 13) || (x > 16)

c. (x > 13) && (x < 17)

d. (x < 15) || (x > 15)

e. (x <= 13) || (x >= 17)

Answers

Answer:

11. a, 12.c

Explanation:

bc numbers must be declared as ints and 15 is greater than 13 but lesser than 17

Is this statement true or false? While in slide show mode, a click and drag is no different than a click. True false.

Answers

In slide show mode, it should be noted that a click and drag is the same as a click. Therefore, the statement is true.

It should be noted that slide show mode typically occupies the full computer screen. One can see how the graphics and animations will look during the actual presentation.

Rather than waiting and clicking, one can make the PowerPoint files open directly in the slide show mode. Therefore, it's not different from clicking.

Learn more about slideshow on:

https://brainly.com/question/25327617

Answer:

"True"

Explanation:

I took the test!

can some one make me a pandora account and give me the email and the password to it please

Answers

Answer:

Ill do it but you do know someone can see the information right?

Explanation:

I need some questions and answers in spreadsheet​

Answers

Answer:

you need to show what you need help with

Explanation:

how does digital and hybrid computers differ in portability​

Answers

Answer:

Digital computers perform functions like mathimatical,compex calculations. while hybrid computers work with the duo combinations like analog and tempature.

Explanation:

I passed the class A+

yourwelcome :)

thank me if it was correct for you too.

In the earliest stages of human history, what was the only medium?
ink
books
the human body
magazines

Answers

The only medium that was used for the dissemination of information during the earliest stages of human history is: C. the human body.

Information sharing is an integral part of human life because no human is able to live comfortably in isolation without the need to share or receive messages from others through a particular medium, especially for awareness, growth, development and proper decision making.

Prior to the medieval period, which is the earliest stage of human history, the human body serve extensively as the only medium that was used for the dissemination of information from one person to another.

This ultimately implies that, various symbols, signs and objects that were  mutually understandable to the people were drawn or written on human body, so as to serve as a medium during the process of communication.

Read more: https://brainly.com/question/14810228

What is the interface of an app?
a storyboard software
the part the user sees
a sketch of your idea
a testing environment

Answers

Explanation:

An application interface or user interface ,is the set of features an application provides so that user may supply input to and recieve output from,the program.

Vivo critique 6 sentences

Answers

Answer:

im sorry i cant understad

python Better Password Prompt
Write a program that uses a loop and a half to prompt a user for a password. You should prompt the user for the password. If they get it correct, break out of the loop. If they don’t get it correct, you should give them an error message and ask again.

Sample Run:

Enter password: 123123
Sorry, that did not match. Please try again.
Enter password: password
Sorry, that did not match. Please try again.
Enter password: CODEHS
Sorry, that did not match. Please try again.
Enter password: abc123
You got it!
Note: You need to set SECRET to abc123 to run the tests

Answers

We use an indefinite while loop to keep the user entering the password. In the loop, we use if-else structure to check the password. If it is "abc123", the password is found and stop the loop using a break. Otherwise, the password is not correct. Note that since we do not use any break statement in the else part, the loop will continue asking for the input

Comments are used to explain each line of the code.

You may see the output in the attachment.

#set the SECRET

SECRET = "abc123"

#create a loop

while True:

   

   #ask the user to enter a password

   password = input("Enter password: ")

   

   #check if the password is equal to SECRET

   # if it is, state that password is correct and stop the loop using a break

   # otherwise, state that password is not correct

   if password == SECRET:

       print("You got it!")

       break

   else:

       print("Sorry, that did not match. Please try again.")

Here is another question related to the loops:

https://brainly.com/question/25694810

How does the computer help me with school work

Answers

you are able to mark your answers on tests and save your work, while on paper, you get it taken away from you.
A computer can be helpful in completing your schoolwork by giving you access to countless sources of information, while educational games and programs can make learning fun. You'll also easily be able to submit neat, organized papers by using the computer's word processing, spreadsheet and presentation programs.

What is precipitation ????

Answers

Answer:

Precipitation has 2 meanings

In chemistry it is the action or process of precipitating a substance from a solution

But in general it is the common term for rain, snow, sleet or hail that falls to the ground

Explanation:

Just look the definition up

Answer:

weather

Explanation:

To gain access to the functions and variables of a library module, use a(n) _________ statement. A. import B. export C. global D. library

Answers

Answer: import

Explanation:

Is this statement true or false? Title text boxes on every slide must be the same format. True false.

Answers

false as you can adjust the boxes to your liking even add more if needed

Which type of relationship is responsible for teaching you values and how to communicate?
a.
online
b.
friend
c.
colleague
d.
family


Please select the best answer from the choices provided

A
B
C
D

Answers

answer:

its either b or d

explanation:

Other Questions
what are the tuskegee airmen most known for doing? Where the World Summit Sustainable Development was formed aimed at the continued realization of sustainable consumptionA. Tokyo B. ManilaC. SpainD. Johannesburg A school communoty had planned to reduce the number of grade 9 students per class room by constructing additional class room however they constructed 4 less rooms than they planned As the result tye number of students per class was 10 more than they planned if there are 1200 grade 9 students in the school determine the current number of class rooms and the number of students per class (I need instant help) can anyone tell me 10 songs that are good, please? write me 2 equivalent fractions of 1/3=_=_ Pronoun of Edison... I saw Edison break the window Carbon in the atmosphere (CO2)Carbon in plants and animalsIt must move through at least 5 different living things (plants/animals) - be sure that the plants/animals would actually interact with each other in nature (ex no african lions eating arctic foxes) this may require a bit of research.Extra credit - show it becoming fossil fuels and the fossil fuels being burned to release CO2 back into the atmosphere.In plants/animals- either how its stored in the plant/animal then the plant/animal being eaten or the steps of cellular respirationIn plants- the steps of photosynthesis (how it goes from being CO2 to glucose)Paragraph / written story tell me if right plz Which word is a synonym of prestigious? 50 points+brainliestStep 1: Copy and paste an analytical claim in the box below. Identify the type of claim being made (facts/definition, cause and effect, value, or solution). Then, revise the statement to make it work better as a specific type of claim.Step 2: What are the two sides of the argument involved in your claim, and which do you support? Revise the latest version of your thesis statement (the one you from the end of Step 1) so that it becomes clearer which side of the argument your claim. expresses or explains.Step 3: How can you make your thesis statement more precise? Is it narrow enough? Can you add more specific information to it? Revise the latest version of your thesis statement to make It more precise or specific.Step 4: What type of sentence is your thesis statement? Is that the best type for what you want to say? Identify your claims clauses and phrases and look for ways that you might modify I am made of many cells. My cells have an organized nucleus. I have two parents and eat food, Guess Who? Label the following statements as either T (true) or F (false). 1) For Propane (C3H8) burning with theoretical amount of air, the air-fule ratio on the mole basis is 5. 2) The enthalpy of any substance at the standard reference state is 0. 3) 180% of theoretical air is equivalent to 80% of excess air. 4) The conservation of mass principle requires that the total number of moles on each side of a chemical reaction is equal. 5) The adiabatic flame temperature of methane (CH4) burning with pure oxygen and theoretical amount of air is the same, all other conditions being the same. what is 26x54 PLSSSSSSSSSSSS DETERMINE WHICH OF THE LINES ARE PARALLEL OR PERPENDICULAR thx sm Calculate the weight of the object of mass20kg. (g= 10 m/s^2) A 2-year-old child is prescribed cyclosporine. The parent says the child doesn't like taking the liquid medication. Which statement by the nurse is most appropriate WHAT IS POLICE ETHICS OR ETHICS first-person sentence about me and someone else using SER What is the slope of a line that is perpendicular to the line y = 1?O-1O 1O undefined Please help with this !