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
jasenka [17]
3 years ago
8

Calculate The Average of Grades Instructions:

Computers and Technology
1 answer:
Eduardwww [97]3 years ago
4 0

Answer:

The pseudocode is as follows:

Input coursename, numgrades

count = 1; totalgrades = 0

while count <= numgrades:

   input grade

   totalgrade+=grade

   count++

average = totalgrade/count

print(coursename)

print(average)

Explanation:

The solution is as follows:

(1) See attachment for flowchart

(2) See answer section for pseudocode

<em>Explanation</em>

Input coursename and number of grades

Input coursename, numgrades

Initialize count of grades input by the user to 1 and the sum of all grades to 0

count = 1; totalgrades = 0

This loop is repeated while count of grades input by the user is less than or equal to the numgrades

while count <= numgrades:

Input grade

   input grade

Add grades

   totalgrade+=grade

Increase count by 1

   count++

<em>End of loop</em>

Calculate average

average = totalgrade/count

Print coursename

print(coursename)

Print average

print(average)

C. Summary of the flowchart

The flowchart gets coursename and the number of grades from the user. Then it gets the score of each grade, add them up t calculate the average of grades.

Lastly, the course name and the average grades is printed

You might be interested in
Do applications need to exchange udp control messages before exchanging data
Molodets [167]

The answer is NO.

Thats what makes UDP connectionless. Aclient that is going to send a UDP message to the server just sends it.The server does not know it is coming untill it arrives .When a server recieves a UDP message it gets the source address/port and the data.

7 0
3 years ago
Describe what each of the following functions in R do.1. t2. matplot3. c4. seq5. legend6. matrix7. rownames8. colnames9. type of
slega [8]

Answer:

1. t is a function used to transpose a matrix object. The object is passed as an argument to the function.

2. matplot is a graphical function in R used for data visualization.

3. The c function is used to combine arguments.

4. seq is an R function used to derive a range of numbers, optionally specifying a start, stop and step argument or simply a single numeric argument.

5. legends are used in data visualization to list and define items in the graphical presentation.

6. matrix is a function in R used to create and work with matrix and data frame objects.

7. rownames and colnames are functions used to label the row and columns of a data frame in R.

8. The typeof function return the data type of an object.

Explanation:

The R programming language is a dedicated programming language for data analysis and visualization.

5 0
3 years ago
Hoda wants to create a new presentation in PowerPoint with existing graphics and designs. What is the easiest and fastest way fo
Paul [167]

Answer: a

Explanation:

6 0
3 years ago
What is the quotient of 8.16 ÷ 100​
Natalka [10]

Answer:

0.0816

Explanation:

8.16 ÷ 100 = 0.0816 (Ans)

6 0
2 years ago
One way to increase savings is to _____ cash inflows
Arlecino [84]

I beleive anything to do with manage

4 0
3 years ago
Other questions:
  • 3. Megan and her brother Marco have a side business where they shop at flea markets, garage sales, and estate
    9·1 answer
  • Theâ ______ is a large worldwide collection of networks that use a common protocol to communicate with one another.
    5·1 answer
  • Margins can be modified in the page layout or by using__.
    15·1 answer
  • Which of the following describes a Trojan horse?
    11·1 answer
  • Human systems integration (hsi), a supportability issue that every program should consider, addresses such factors as accessibil
    10·1 answer
  • A blue line, called a ____ line, that appears when you are dragging a GUI object on a Windows Form object indicates that the obj
    10·1 answer
  • These tools give presenters more freedom to move about the room and interact with their audience.
    5·2 answers
  • c++ Write a program that reads a list of words. Then, the program outputs those words and their frequencies. The input begins wi
    8·1 answer
  • In 2009 to 2010, 1 in 10 social network users:
    10·1 answer
  • Create a query that shows columns employee last name, job title and hire date for those employees who joined the company on or a
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!