subject

Read the following code: # Calculate average
average = numl + num2 + num3 / 3.0

There is an error in the code. How should the code be revised in order to get the correct output?

A:average = numl + num2 + num3 - 3.0

B:average = numl + num2 + num3 - 3.0

C: average = (numl + num2 + num3) / 3.0

D: average = numl + num2 + num3 / (3.0)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:00
Match each vocabulary word to its definition.1. desktoppicture used to represent acomputer application2. domainnetwork protectionsoftware code that can be viewed,3. iconmodified, and redistributed for freethe background screen on acomputer monitor4. url5. blogan online journalthe part of an internet address that6. firewallrefers to a group of computers on anetworkonline database of web pages7. intranetnetwork for use by an individual8. open address of a web page or9. wikiresource
Answers: 2
question
Computers and Technology, 22.06.2019 10:00
Businesses allocate resources for their best and most productive uses. the more a resource, the more costly it will be. a manufacturer that requires scarce and costly resources is likely to charge for its products.
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Selling a product through an electronic medium is
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
You know the right answer?
Read the following code: # Calculate average
average = numl + num2 + num3 / 3.0

T...
Questions
question
Mathematics, 11.01.2021 20:50
question
Mathematics, 11.01.2021 20:50
question
Biology, 11.01.2021 20:50
Questions on the website: 13722360