subject

Read the following code, written to calculate an average: def main():
num1 = 83
num2 = 75
num3 = 99
average = num1 + num2 + num3 / 3
print("Average: + str(average))
main()
How can the average calculation be corrected in order to return the correct output? (5 points)

A) Change the division symbol to the multiplication symbol

B) Place parentheses around the variables to indicate the order of operation

C) Place quotation marks around the variable names in order to make a string literal

D) Use the numeric values instead of variable names

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
What is a rush associated with alcohol?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is [email protected] -
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 2
You know the right answer?
Read the following code, written to calculate an average: def main():
num1 = 83
num2 =...
Questions
question
Mathematics, 09.12.2019 10:31
question
History, 09.12.2019 10:31
question
Social Studies, 09.12.2019 10:31
Questions on the website: 13722363