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
diamong [38]
3 years ago
8

Average of Grades - Write a program that stores the following values in five different variables: 98, 87, 84, 100, 94. The progr

am should first calculate the sum of these grades and store the result in a variable named sum. Then, the program should divide the sum variable by 5 to get the average. Display the results on the screen. The program output should look similar to: The average of the grades is 92.6.
Computers and Technology
1 answer:
liubo4ka [24]3 years ago
4 0

Answer:

Not sure what language, but in python a super basic version would be:

val1 = 98

val2 = 87

val3 = 84

val4 = 100

val5 = 94

sum = val1 + val2 + val3 + val4 + val5

avg = sum / 5

print(avg)

Explanation:

You might be interested in
Coordination in a global information system requires a _____ architecture for data, standardization within departments.
Phantasy [73]

Coordination in a global information system requires a decentralized architecture for data, standardization within departments

6 0
2 years ago
QUICK PLZZZZZZZ Which one of the following is considered a peripheral? A Software B Mouse C USB connector D Motherboard
il63 [147K]

A MOUSE is considered a peripheral. A peripheral device connects to a computer system to add functionality.

6 0
3 years ago
Write a pyhton program to calculate area of a circle?
marta [7]

Answer:

The code to calculate the area of a circle is:

from math import pi

def circleArea(radius):

 if radius > 0:

   return pi * (radius ** 2)

 else:

   return None

if __name__ == '__main__':

 radius = 5

 print("Radius: {} Area: {}".format(radius,circleArea(radius)))

Explanation:

A detailed explanation of each line of code is given below.

#Define the number pi used to calculate the area

from math import pi

#We define a function that calculates the area of a circle

def circleArea(radius):

#Check if the radius is valid ( radius > 0) since there aren´t negative radius

 if radius > 0:

#Compute the area formula for a circle \pi * radius^{2}

   return pi * (radius ** 2)

 else:

#Return None if the radius is invalid

   return None

#Run the function we´ve defined

if __name__ == '__main__':

#Define a radius

 radius = 5

#Call the function and parse the radius through it, then print the result

 print("Radius: {} Area: {}".format(radius,circleArea(radius)))

8 0
3 years ago
Regarding the excerpt, what synthesized information helps spread a message to a large audience? Check all that apply. taking adv
frutty [35]

The question is incomplete! Complete question along with answer and step by step explanation is provided below.

Question:

Read the excerpt from News Articles about Bullying.

Aside from his website, Jaylen has appeared on numerous TV networks, chatted via Skype with college education students nationwide and spoken at the Florida Teachers Conference in Orlando in front of more than a thousand educators.

Regarding the excerpt, what synthesized information helps spread a message to a large audience? Check all that apply

1. taking advantage of technology

2. being good at public speaking

3. appearing on a television program

4. speaking mostly to college students

5. presenting at professional conferences

Answer:

The correct options are 1, 2, 3 and 5

Explanation:

In order to convey the message to a large audience, an individual can adopt certain measures that can ensure efficient spread of message.

Jaylen used technology (Skype) to chat with students nationwide, therefore, option 1 is correct.

Speaking in front of more than a thousand educators at the Florida Teacher Conference clearly suggests that Jaylen is good at public speaking, therefore, option 2 is correct.

Jaylen appeared on numerous TV networks as well as she presented at professional conferences which helps in spreading the message across a large audience, therefore, option 3 and 5 are also correct.

It is not necessary to speak to only college students, she can speak to students of all education levels to spread her message to large audience, therefore, option 4 is not correct.

7 0
3 years ago
Pick the correct statements on the 64-bit machine representation of numbers.
Cerrena [4.2K]

Answer:Floating-point arithmetic is considered an esoteric subject by many people. This is rather surprising because floating-point is ubiquitous in computer systems. Almost every language has a floating-point datatype; computers from PCs to supercomputers have floating-point accelerators; most compilers will be called upon to compile floating-point algorithms from time to time; and virtually every operating system must respond to floating-point exceptions such as overflow. This paper presents a tutorial on those aspects of floating-point that have a direct impact on designers of computer systems. It begins with background on floating-point representation and rounding error, continues with a discussion of the IEEE floating-point standard, and concludes with numerous examples of how computer builders can better support floating-point.

Explanation:

6 0
2 years ago
Other questions:
  • C programming question:
    12·1 answer
  • What is meant by algorithm?​
    12·1 answer
  • In a network, a computer that performs specific services for other computers on the network is called a
    5·1 answer
  • What is Mainframe computer​
    15·1 answer
  • Computer software licensed under exclusive legal right of the copyright holder with the intent that the licensee is given the ri
    6·1 answer
  • Mary can view the thumbnails of her presentation slides when she’s creating the slides which element of the programs interface i
    8·1 answer
  • Match each role to the corresponding web development task.
    14·1 answer
  • What is data analysing data and give three examples ?​
    9·1 answer
  • Which of the following is a quality of a mixed economy?
    5·1 answer
  • What's the commission payout for auto bill pay if sold with a ga?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!