Average of Grades - Write a program that stores the following values in five different variables: 98, 87, 84, 100, 94. The program 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.

Answers

Answer 1

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:


Related Questions

For your biology class, you will be giving a presentation of the findings of a plant growth experiment. Which application is best suited for this presentation?


Writer or Word


Impress or PowerPoint


Notepad or Paint


Calc or Excel

Answers

Answer: Powerpoint

Explanation: Easy to give graphs and add pictures. You can also add shapes to create a bar graph if needed.

Answer:

Calc or Excel

Explanation:

Enter an integer
5
6
7

Answers

/* This program prompts the user to enter an integer

* and then determines whether the integer is between 4-6. */

start();

function start(){

var int = readFloat("Enter an integer to print in this program: ");

println("An integer from 5-6 is entered (True/False)");

if(int <= 6 || int == 4){

println("True: " + int + " was entered.");

}else{

    println("False: " + int + " was entered.");

}

}

... If this isn't what you were looking for, I apologize.  I'm uncertain on what you really need help with, your question isn't quite clear... I answered to the best of my ability in simple js.

edit: brainly deletes my indents... just make sure to indent properly :-)

!!!!!!!-------PLEASE HELP--------!!!!!!!
When writing a selection sort or insertion sort algorithm in a class, what type should the final main method be

Answers

Answer:

A cool little 40 Minutes Timer! Simple to use, no settings, just click start for a countdown timer of 40 Minutes. Try the Fullscreen button in classrooms and

Explanation:

What is the major difference between a block style business letter and a modified block style letter? A modified block style letter has no specified alignment The placement of the return address, date, and complimentary closing The placement of the complimentary closing The placement of the date

Answers

Answer:

The placement of the return address, date, and complimentary closing

Explanation:

A business letter can be defined as a formal written form of communication used by business organizations to professionally communicate with other businesses, companies and clients.

There are two (2) main styles used when writing a business letter;

1. Block style business letter: all the texts contained in the letter are aligned to the left (left-aligned) and must be single spaced without any exception.

2. Modified block style business letter: it uses a format that differs from the block style in that the date, return address sign off or complementary close and signature lines are centered (center-aligned) to the page or body of the letter.

Hence, the major difference between a block style business letter and a modified block style letter is the placement of the return address, date, and complimentary closing.

Select the guidelines you should follow when creating a memo.
Write very long sentences.
At the top, type the date and start the message.
Get to the point at the beginning of the memo.
Single-space the paragraphs in the memo.
Keep the paragraph lengths short.
At the end, inform the readers if there are specific actions they need to take.

Answers

Answer:

Get to the point at the beginning of the memo.

Keep the paragraph lengths short.

At the end, inform the readers if there are specific actions they need to take.

Explanation:

Answer

Get to the point at the beginning of the memo.

Keep the paragraph lengths short.

At the end, inform the readers if there are specific actions they need to take.

Please helpp!! I need it quickly!

Answers

Answer:

a

Explanation:

1st row has 3 possible answers software program, web page, and web browser

2nd row has 3 possible answers a web browser, the internet, and a user’s computer

Answers

Answer:

1st row: software program

2nd row: a user's computer

hope i've helped.

What is the appropriate formula used to determine the area of a surface
using SI units? *
O m2
O m3
0 m/s
O m*kg

Answers

Answer:

om2

Explanation:

m2 is SI units I hope this help

What is the assignment operator?

Select the one choice that best answers the prompt above:
Answer 1
==

Answer 2
=

Answer 3
<=

Answer 4
===

Answers

I think hahahahaha Answer 1

Answer:

answer 3 is greater then or equal to, answer one is both equal, answer 2 is equal, answer 4 is all equal no mistakes,

Explanation for brainly please

answer 3

Two strings are anagrams if they are permutations of each other. For example, "aaagmnrs" is an anagram of "anagrams". Given an array of strings, remove each string that is an anagram of an earlier string, then return the remaining array in sorted order. For example, given the strings s = ['code', 'doce', 'ecod', 'framer', 'frame'], the strings 'doce' and 'ecod' are both anagrams of 'code' so they are removed from the list. The words 'frame' and 'framer' are not anagrams due to the extra 'r' in 'framer', so they remain. The final list of strings in alphabetical order is ['code', 'frame', 'framer'].

Answers

Answer:

Here is the Python program:

def removeAnagram(array):  #method to remove string from array of strings that is anagram of earlier string

   s = set()  #creates a set

   output = []  #creates an output list

   for string in array:  # iterates through each string in array of strings

       if ''.join(sorted(string)) not in s:  #if sorted string of array is not in s

           output.append(string)  #append that string to output list

           s.add(''.join(sorted(string)))  #add that sorted string to s set

   return sorted(output)  #returns output list

   

array = ['code', 'doce', 'ecod', 'framer', 'frame']  #creates a list of words

print(removeAnagram(array))  #calls method to remove each string that is an anagram of earlier string

Explanation:

I will explain the program with an example:

Suppose array = ['code', 'doce', 'ecod', 'framer', 'frame']

Now the for loop works as follows:

At first iteration:

first string of array is 'code'

if ''.join(sorted(string)) not in s: this is an if statement which has two method i.e. join() and sorted(). First each letter of the string i.e. 'code' is sorted in alphabetical order then these separated characters are joined together into a word with join() method. So

sorted(string) becomes:

['c', 'd', 'e', 'o']                                                                                                           and ''.join(sorted(string)) becomes:

cdeo

Now if ''.join(sorted(string)) not in s condition checks if cdeo is not in s set. This is true so the statement:

output.append(string) executes which appends the string to output list. So now output has:

['code']                                                                                                                         Next s.add(''.join(sorted(string))) statement  adds the sorted and joined string of array to s set. So the set has:

{'cdeo'}                                                                                                                        

So at each iteration each word from the array is sorted and joined and then checked if output array contains that word or not. If not then it is added to the output array otherwise not. For example at 2nd iteration the word 'doce' which is anagram of code and it is checked when it is sorted and joined and it becomes cdeo which is already in output array. So this is how the anagram is removed from the array. At the end the output array which returns the remaining array in sorted order is returned by this method. The screenshot of the program along with its output is attached.

The program is an illustration of loops.

Loops are used to perform repetitive and iterative operations.

The program in Python, where comments are used to explain each line is as follows:

#This initializes the list of words

myList = ['code', 'doce', 'ecod', 'framer', 'farmer']

#This creates a set

mySet = set()

#This creates a new list for output

newList = []

#This iterates through the list

for elem in myList:

   #This checks if a sorted list element is not in the set

   if ''.join(sorted(elem)) not in mySet:  

       #if yes, the list element is appended to the new list

       newList.append(elem)

       #And then added to the set

       newList.add(''.join(sorted(elem)))  

#This prints the anagram

print(sorted(output))

Read more about similar programs at:

https://brainly.com/question/19564485

what is the first question you should ask yourself when analyzing an advertisement

Answers

How your presentation is gonna be

Write a program that accepts a number as input, and prints just the decimal portion. Your program should also work if a negative number is input by the user

Answers

In python:

number = float(input("Enter a number "))

print(round(number - int(number), 2))

Answer:

To just print the decimal, use code (in python)

Explanation:

number = float(input("Enter a number "))

print(number - int(number))

This code should cause the system to print just the decimals at the end of the number.

To view data in a graphical format that is easier to understand, use Microsoft Excel
functions
formulas
pictures
charts

Answers

Answer:

i guess charts??

Explanation:

Select the correct answer.

What are the requirements to access email on the web?
А.
a webmail provider's URL and a password
B.
a webmail provider's URL, a username, and a password
C.
a credit or debit card, a username, and a password
D
an email server ID and a password

Answers

Answer:

a webmail provider's URL, a username, and a password

Explanation:

B is the answer to the question

which of the following is NOT a shortcoming of emails
A instant delivery
b information overload
c computer viruses
d ineffectiveness to communicate emotion ​

Answers

Answer:

A. instant delivery

Explanation:

what ppe can provide in exposure to heat and radiation?​

Answers

Examples of commonly used PPE for radiation protection from X-rays and gamma rays include:
Lead aprons or vests. Wearing lead aprons can reduce a worker's radiation dose. ...
Lead thyroid collar. ...
Lead gloves. ...
Safety goggles.

According to the video, what tasks do Foresters commonly perform? Check all that apply.

Answers

Common tasks that foresters perform are as follow.

Measuring trees

Supervising timber harvests

Planting seedlings (baby trees)

Hope I could help!!

Answer:

On edge its

receiving money

totaling bills

giving receipts

weighing produce and bulk food

Explanation:

What are some common security threats for our home devices and IoTs?

Answers

Answer:

Botnets. A botnet is a network that combines various systems together to remotely take control over a victim’s system and distribute malware.A denial-of-service (DoS) attack deliberately tries to cause a capacity overload in the target system by sending multiple requests. In a Man-in-the-Middle (MiTM) attack, a hacker breaches the communication channel between two individual systems in an attempt to intercept messages among them.Hackers use social engineering to manipulate people into giving up their sensitive information such as passwords and bank details.Ransomware attacks have become one of the most notorious cyber threats. In this attack, a hacker uses malware to encrypt data that may be required for business operations. An attacker will decrypt critical data only after receiving a ransom.

Explanation:

is techonalygy harmful or useful

Answers

Tech can be both harmful and useful. Some techs you can use for school or educational purposes. Some apps can harm your brain.

Answer:

both

Explanation:

both because tech. can be useful to anyone depending on what they need but harmful because you are hurting your eyes by looking at the scree for way to long, along with physical heath by sitting there for way to long and not being active.

What are users unable to do in the user interface of PowerPoint 2016?

Add additional tabs on the ribbon.
Customize the default tabs on the ribbon.
Fully customize newly added tabs on the ribbon.
Use global options to customize newly added tabs on the ribbon.

Answers

Answer:

B. Customize the default tabs on the ribbon

The other answer is in correct

Explanation:

I took the unit test review and got 100%

edge 2020

it’s customize, just took the test :)

To allow a document to be opened easily on most computers, save the document as a _____.

a hyperlink
require a password
a template
read only

Answers

Answer:

PDF

Explanation:

Answer:read only

Explanation:

someone please help me? Thanks!

Answers

Google the answer. L maoooo

Answer:

B

Explanation:

Phishing is a type of social engineering attack often used to steal user data, including login credentials and credit card numbers. It occurs when an attacker, masquerading as a trusted entity, dupes a victim into opening an email, instant message, or text message.

How these technologies influence the user experience and knowledge?

Answers

Answer:

I don't know

Explanation:

Technology can help us study and stuff yet we can still look up the answers. It also allows to know what's happening in the world around us like if a girl gets kidnapped, we get Amber Alerts on our phones about the missing girl. Most of us people today have learned about George Floyd's death on the internet through technology. Technology doesn't really influence us as much as help us out but for some people it can cause us to change under the influence of seeing other people and how they dress and act and stuff.

Andy wants to install a new Internet connection. He wants to take the fastest he can get. What are the maximum speeds for the following Internet access technologies?

Answers

Answer:

1. so if i wanted to build a linux server for web services(apache) with 1cpu and 2 gb of memory.-operating at 75% of memory capacity2. a windows server with 2 cpu/ 4gb memory- operating at 85% of memory capacity3. a storage server with 1 cpu/ 2gb memory- operating at 85% of memory capacityhow much memory do i have to add for each server. so that the utilization rate for both cpu and memory is at a baseline of 60%."the details for the cpu like its processor or the memory's speed isnt to be concerned" yeah i kept asking my teacher if he's even sure about the but the whole class seems to be confused and the project is due in 3 days..this is a virtualization project where i have to virtualize a typical server into an exsi hypervisor.

Answer:

PLATOOOOOO

Explanation:

Other Questions
Sera imposible que tus padres no ___________ de la fiesta a sorpresa.Question 7 options:a) Sabieronb) Supieron How do the molecules in a solid behave? what was one of the goals of Jacob riis book Arrange the following events in the mantle convection process. Use numbers 1-5.a. Lithospheric plates move in the asthenosphere due to rising and sinking ofmaterials.b. The decomposition of radioactive elements causes heat in the interior part ofthe Earthc. Heat slowly rises to the mantle and creates convection current.d. Heat moves to the core.e. The process repeats as cycle. What is the solution tothe following equation?-x - 6(x-5) = 86 Which of the following mineral characteristics is false? Unique chemical compositionInorganicUnique crystalline structureMade of many different types of rocks.SolidUnique chemical composition Which of the following is an example of benefits?TravelPhysical activitySalaryInsurance 1. Describe how sumer met the three critical of a civilization. Use specific examples write down__________2. How did the geography of a Mesopotamia contribute to the development of early civilization there? _________________3. describe the three principal ways civilization spreads from one region to another. Type the answer please_____________ PLEASE HELP WITH THESE 4 QUESTIONS, THERE DO IN 5 MINUTES!!! THE QUESTIONS ARE ON THE PIC BUT I WILL ALSO TYPE THEM OVER HERE:1. $400 Laptop is on sale for 25% off. What is the sales price of the laptop? *A. $100B. $300C. $3752. A $65 jacket is on sale for 10% off. How much money will you save if you buy it? *A. $55B. $10C. $6.53.Melissa has 30 gumballs. 20% of the gumballs are red. How many gumballs are not red? *A. 6B. 10C. 244.Ms. Pitts has 50 pieces of candy. She gives Ms. Young 30% of her candy. How many pieces does Ms. Young get? *A. 30B. 60C. 35D. 15 briefly explain ONE major difference between Wood's and Bailyn's historical interpretations How did Shays' Rebellion expose the weakness of the AOC? It revealed a lack of rule of law in the colonies. It showed that the national government was too weak and the states too strong. It showed that we needed a new Declaration of Independence It showed that the national government was too strong and the states too weak. Define the term coordinate covalent bond and give an example. please help, thank you :) Need some helppppppppp Drag the tiles to the boxes to complete the pairs.Match each description to the correct person. Rewrite the answer as a mixed number fraction (if possible) 13/4 divided by 2 3/5 * Please pleas please answer question 7,8 and 9 I really need it 4y-27=3y then y is equal to ? Somebody tell me whats the answer and how do i find the oder pair thing what is the basic of the cell membrane wich of the following countries which was not colonized by Great Britain?AIndiaBAustraliaCanadaDUnited StatesEMexico