4.9 Code Practice: Question 4
Instructions
Write a program that asks the user to enter ten temperatures and then finds the sum. The input temperatures should allow for decimal values.

Sample Run
Enter Temperature: 27.6
Enter Temperature: 29.5
Enter Temperature: 35
Enter Temperature: 45.5
Enter Temperature: 54
Enter Temperature: 64.4
Enter Temperature: 69
Enter Temperature: 68
Enter Temperature: 61.3
Enter Temperature: 50
Sum = 504.3

Answers

Answer 1

total = 0

i = 0

while i < 10:

   temp = float(input("Enter Temperature: "))

   total += temp

   i += 1

print("Sum =", str(total))

I hope this helps!


Related Questions

a employee who has intregity is

Answers

Answer:

is some one who demonstrates  sound moral and ethical principles ,always does the right thing no matter when or who's watching, they can be trusted around the staff and the stakeholders. which means that that person is honest, fair, and dependable

Explanation:

i actually just did a report for a class that i am taking called human resources

i hoped this helped you

please help me I want the answer for the 3rd question ​

Answers

Use the multiples thats are included in the flowchart and divide them by half a divisible

it is where your cpu (processor) is installed

Answers

The motherboard (CPU SOCKET)

Answer:

OPTICAL DRIVE

Explanation:

It think

I need help pleaseeeee!!!

Answers

Answer:

True

Explanation:

Integrated Services Digital Network (ISDN) is a set of communication standards for simultaneous digital transmission of voice, video, data, and other network services over the traditional circuits of the public switched telephone network.

Pleaseee mark me as brainliest

Hope this help <3

what is the meaning of .net in computer​

Answers

Answer:

.net is a top-level domain, also known as a TLD. Derived from the word network, it was originally developed for companies involved in networking technology. Today .net is one of the most popular domain names used by companies all over the world to launch their business online.

Place the steps in order for placing a section break

Answers

Answer:

choose a break option, select breaks, click the layout tab, change the formatting style, and position the cursor

Explanation:

i could be wrong cause i dont know what its about but this is what makes sense to me

Answer:

position the cursor click the layout tab select breaks choose a break option change the formatting style

Explanation:

Just had this question

Which are examples of primary sources? Check all that apply.

diary
newspaper article
biography
photograph
speech

Answers

Answer:

A, D, E

Explanation:

Diaries, photographs, and speeches are all forms of primary sources, whereas biographies and newspaper articles are written by a secondary source.

Answer:

a,d,e

Explanation:

If you were the manager at a firm which deals with sensitive information of its customers, employees and other stake holders, how would you make sure that information is protected and is altered only by the designated authorized person

Answers

Answer:

explanation below

Explanation:

Management controls are some of the techniques and mechanisms that can be put in place to implement security policies – which ensure information and information systems are protected.  These controls are not only used by managers but can be exercised by selected users.  

These controls must be put in place to cover all forms of information security, physical security and classification of those information.  

What can you add to your presentation from the Insert tab?

Animations
Pictures
Variants
Transitions

Answers

Answer:

B. PICTURES

Explanation:

Answer:

I know its late but pictures is the answer.

Explanation:

I took the test and got it right.

1. What sort of information should be taken by the human resource before
leaving for foreign employment? Write in brief.​

Answers

Answer:

DDDDDDDDDDDDDDD

Explanation:

Answer:

Sources of information on foreign job opportunities. Blue, newspapers or professional journals; Red, personal contacts abroad; Green, recruitment websites.

Explanation:

Name any two operating systems you know.

Answers

Answer:

software and hardware

2 operating systems are windows and iOS

2. The internet offers a great source of information; however, how are
you going to make sure that these pieces of information are reliable?​

Answers

Answer:

There are many different ways that you can ensure that the information you gather on the internet is reliable and accurate! One way is to not look at Wikipedia and sites where anyone has the access to edit it at any time. Sites that are .com or .org are usually from a direct and safe source. Stay away from media websites and if you believe something isn't right, do further research.

Explanation:

Hopefully this helps.

Social networking is the most popular online activity?
True
False

Answers

Answer:

true

Explanation:

It’s true because I said so

If you draw strength from video games, how?

Answers

Answer:

I really dont know

Explanation:

Thank u for the pts tho < :)

[Files, for loops, exceptions; 20pt] Using a for loop, write a function called countWord(). It takes 2 parameters: The name of a text file (e.g. gettysburg.txt that is included with this test) and a word to be searched within that file. Your code should return the number of times the given word appears in the file. Capitalization should not matter. Make certain to handle file exceptions gracefully.

Answers

def countWord(name, word):

   try:

       f = open(name, "r")

       lst = ([])

       w = ""

       for x in f.readlines():

           w += x.lower()

       lst = w.split()

       f.close()

       return lst.count(word)

   except FileNotFoundError:

       print("Please create a file or use the name of an existing text file.")

print("Your word appears", countWord("gettysburg.txt", "random"), "time(s)")

The text file I used for testing looks like:

random words

random words

I'm putting random words in here

random

this is random

RaNdOm

I didn't really know what exceptions your professor is looking for so I just used the file not found one. Best of luck.

How do you halt an infinite loop?
by pressing the Control key and the

key

Answers

write code creating an infinite loop, with my new Excel, the Ctrl + Break no longer works. Neither does the Esc key, etc.

I've looked all over the web and it appears that Microsoft has a bug and doesn't care to fix it.

Is there a way to re-introduce the Ctrl + Break function to VBA so if this happens in the future I don't lose work / force close?

Answer:c

Explanation:ctrl and c stops a infinite loop

Circuit pruning occurs only before puberty.
O True
O False

Answers

Answer:

False

Explanation:

Answer:

The answer is false goodluck6

CALCULATE THE PERCENTAGE OF FAT CALORIES TO TOTAL CALORIES. I got no idea how to do this in excel ;-;

Answers

Answer:

As you have the Fat Cal. in column C and the total calories in Column B, what you have to do is to divide column C by Column B.

For instance, in column E2, put the formula: =C2/B2.

Then drag the formula down so that the other formulas will be;

E3; =C3/B3

E4; =C4/B4

E5: C5/B5

E6: C6/B6

Then after that you go to the Home tab, then to the Number style section and format E2 to E5 to be percentages.

Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be. What kinds of errors does Erin need to fix?
logic errors
database errors
debugging errors
syntax errors

Answers

Answer:

A simple syntax error :)

"A character or string incorrectly placed in a command or instruction that causes a failure in execution."

Good luck! Hope this helped! :D

The kinds of errors does Erin need to fix is a simple syntax error.

What is syntax error?

Syntax is a character or string when incorrectly placed in a command or instruction results in failure while executing.

Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be.

The correct way to remove syntax error is putting colon and semicolon on the right place.

Learn more about syntax error.

https://brainly.com/question/18271225

#SPJ2

write a paragraph about ICT?

Answers

Answer:

ICT (information and communications technology or technologies) is an umbrella term. It includes any communication device or application, such as radio, television, cellular phones, computer and internet, satellite systems and so on. Videoconferencing and distance learning is a very important part of ICT.

Chris has received an email that was entirely written using capitalization. He needs to paste this text into another document but also ensure that the capitalization is removed.

What should Chris do?

Use the Paste Special function to paste the text without formatting.
Turn the Caps Lock button on the keyboard to the off position.
Use Shift+F3 to change the case of the desired text.
All of the above steps are correct.

Answers

Answer: D. all of the above

Explanation:

Answer:

D.) All of the steps above are correct

Explanation:

When a customer makes an online hotel booking the database is updated by using
A) table
B) form
C) query
D)report

Answers

I think it’s a form,if wrong please don’t be mad

When a customer makes a booking, the database is updated by using a form.

Forms in a database are necessary for the manipulation and the retrieval of data. It helps with entering, editing as well as displaying data.

The form allows you to add data to the already existent table and it can also help one to view already existent information.

A form can also be used to view information from query. When this is the case, it searches and analyzes data.

Read more at https://brainly.com/question/10308705?referrer=searchResults

Its made up of a small memory chips on a card that can hold data in an electronic format​

Answers

The chip can allow you to have more data and more pictures so your phone does not become slow and messages and apps and more.

Which unit of measurement is used to express the capacity of a servo motor?
A. kg/hr
B. kg/m
C. kg/cm
D. kg/km

Answers

Answer:

C. kg/cm

Explanation:

I just did it

SOMEONE PLEASE HELP ME I REPOSTED THIS 3 time and no ONE HAD HELPED ME

Answers

Answer:

The answer is B

What does a network backbone do?
allows data to be delivered more quickly and efficiently
makes data transfer from the cloud more secure
connects different network functions, such as printers and modems
configures random local networks in major cities that make up the Internet

Answers

Answer:

configures random local networks in major cities that make up the internet.

Answer:

D

Explanation:

What two states do binary numbers represent?

A) Coder and processor
B) Input and output
C) On and off
D) Right and left

Answers

Answer:

C

Explanation:

Binary is a base-2 number system that uses two mutually exclusive states to represent information. A binary number is made up of elements called bits where each bit can be in one of the two possible states. Generally, we represent them with the numerals 1 and 0.

Answer:

C

Explanation:

On and off symbolize 0 and 1.

What are 5 different google g-suite tools that you can use to collaborate and communicate with othe

Answers

it is google docs like stuff made by google

I don't understand how to do these. It's python by the way.

Answers

Answer:

Disclaimer: I dont put the Euler, magic word, and another variables, you need to do this

Explanation:

print(eulersNumber[16])

print(eulersNumber[26])

print(eulersNumber[31])

print(magicWords[:3]+magicWords[8:10])

3° I dont know how i can make this

print(a[::-1])

print(b[::-1])

print(c[::-1])

print(x[::-1])

print(y[::-1])

Have a nice day

Create a class called Drive. It should have instance fields miles and gas which are both integers. Another instance field, carType, is a String. The constructor should receive a String which initializes carType. The other two instance fields are both automatically initialized to 1 in the constructor. Create a method called getGas that returns an integer that is the gas data member. The getGas method has no parameters. Write in java. First correct answer will be marked brainliest, i need answer very soon

Answers

public class JavaApplication87 {

   

   public static void main(String[] args) {

       Drive dr = new Drive("Insert type of car");

       System.out.println(dr.carType);

   }

   

}

class Drive{

   int miles;

   int gas;

   String carType;

   public Drive(String ct){

       carType = ct;

       miles = 1;

       gas = 1;

       

   }

   int getGas(){

       return gas;

   }

   

}

I'm pretty sure this is what you're looking for. Best of luck.

Other Questions
Helpppppp please due today At the end of June, Jeff told his friends this morning that he is going to France.What is the misplaced modifier in this sentence? A. There is no misplaced modifier. B. "going to France" C. "At the end of June" D. "this morning" Native Americans Rights Use the figure to find the measure of angle 2. The thrower's arm is moving in which anatomical directions in the picture above? Proximal and inferior Proximal and superior Anterior and inferior Anterior and superio What is the quotient of Three-fourths and StartFraction 5 Over 6 EndFraction? Subtract the shortest length from the longest.0.81 m1.08 m0.8 m180 cm18 cm A mass m at the end of a spring of spring constant k is undergoing simple harmonic oscillations with amplitude A.Part (a) At what positive value of displacement x in terms of A is the potential energy 1/9 of the total mechanical energy?Part (b) What fraction of the total mechanical energy is kinetic if the displacement is 1/2 the amplitude?Part (c) By what factor does the maximum kinetic energy change if the amplitude is increased by a factor of 3? (3x2.4)/0.02 = (8x)/0.1 Please Help Consider the recorded transactions below. Credit Debit Accounts Receivable 7,900Service Revenue 7,900Supplies 2,050 Accounts Payable 2,050 Cash 9,700Accounts Receivable 9,700 . Advertising Expense 1,100Cash 1,100 Accounts Payable 3,200 Cash 3,200 Cash 1,200Deferred Revenue 1,200 Required: Post each transaction to T-accounts and compute the ending balance of each account. The beginning balance of each acc the transactions is: Cash, $2,900; Accounts Receivable, $3,700; Supplies, $350; Accounts Payable, $3,000; Deferred Reve Service Revenue and Advertising Expense each have a beginning balance of zero. Kenzie is putting the family vacation videos onto a flash drive. The flash drive can hold 200 minutes of video. Kenzie has used 45% of the memory space already. How many minutes of the flash drive has she already used? Philip's rectangular deck is 5 yards wide. The ratio of the width to the length is 4 to 5. What is the approximate length of Philip's deck in feet? Hint: 1 yard = 3 feet. A cat had a litter of 4 kittens. Two of the kittens weighed 2 1/2 ounces each, 1 kitten weighed 3ounces, and 1 1 kitten weighed 4 ounces. What is the mean weight of the kittens from the litter? The basic principle involved with expense recognition is: Multiple Choice All costs that are used to generate revenue are recorded in the period the revenue is recognized. All transactions are recorded at the exchange price. The business is separate from its owners. The business will continue to operate indefinitely unless there is evidence to the contrary.A company orders office supplies in June. Those supplies are received and paid for in July. The supplies are used in August. In which month should the company record supplies expense Explain Diplomatic............. (ANSWER FAST PLSS)In AABC, what is the measure of angle B?B(2x)(x+2).140A04604800700092 11Select the correct text in the passage.Read this passage adapted from the German Historical Institute.Which line in the passage describes the cultural effect that World War I had on German Americans living in the United States?Most German-American congregations suffered from the German language ban, and many of them eventually switched to English for theirreligious services. Mennonites, Amish, and Hutterites were among the groups that were most heavily exposed to hostility, because theirmembers were not only of German descent but also generally opposed to military participation. During wartime, however, their pacifist creedwas taken as proof of their pro-German sympathies; the fact that most of them kept apart from their American neighbors made them evenmore suspect. In general, they chose not to comment on the public discourse; they continued to operate their own schools, cherished their oldcustoms, spoke their German dialects, and resisted Americanization. None of them felt any loyalty toward Germany; they just wanted to be leftalone to practice their faith and live according to their religious beliefs. The more liberal congregations chose to work out a compromise with theWilson government in which they allowed their young men to participate in the civil service.ResetNext 3. Identify - Name one interesting fact or perspective that you didnt know or consider before reading the ProCon list. What struck you about it? 0.9, 0.09, 0.1, 0.07In order from smallest to largest These ordered pairs represent a function:(0,2), (1,-1), (2,-4), (3,-7). Write a function rule (equation) to represent this function. Answer choicesa.y=-3x+2 b.y=x+2c.y=3x-7 d.y=3x+2