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
zepelin [54]
3 years ago
12

Write an algorithm to determine a students final grade and indicate whether it is passing or failing .the final grade is calcula

ted as average of 4 exams
grade>60 pass else fail​
Computers and Technology
1 answer:
tino4ka555 [31]3 years ago
4 0

Answer:

total = 0

for i 1 to 4:

   input grade

   total += grade

end

average = total / 4

if average is greater than 60:

   print("Passing")

else:

   print("Failing")

Explanation:

The above algorithm (pseudocode) is written considering Python language.

Initialize the total as 0

Create a for loop that iterates four times. For each iteration, get a grade froum the user and add it to the total.

When the loop is done, calculate the average, divide total by 4.

Check the average. If it is greater than 60, print "Passing", otherwise print "Failing".

You might be interested in
Why is contrast important when designing a web page
Phantasy [73]

Contrast is important when designing a web page for many reasons. One of the most important reasons is because if you don't have contrast, you won't be able to read what is written on the page. Your eyes will have to strain really hard or it just simply won't be possible to read at all. Another really important reason is that contrast makes the web page look visually appealing. Whereas, if you don't have contrast it is all kind of jumbled together. As you can see there is a plethora of reasons contrast is important.

I hope that helps u!!

:)

8 0
3 years ago
1. What does VolP stand for? *
kenny6666 [7]
Answer : c

Explanation:
6 0
3 years ago
Read 2 more answers
Which of the following is not a reason to choose a community college?
k0ka [10]
They do not make as big of a impression than a famous university when applying for jobs.
8 0
2 years ago
Tips to identify email scams.
malfutka [58]

Answer:

Explanation:

dont open or sign up to anything that seems to good to be true

7 0
3 years ago
Hola, alguien me puede ayudar¡¡¡¡¡¡¡¡¡¡¡¡
WARRIOR [948]
Hola<span>, </span>Alguien me<span> podría </span>ayudar<span> a realizar una buena sinopsis de la película "</span><span>Jardín de Amapolas" dirigida por Carlos Melo Guevara, gracias? i hope i helped you</span>
4 0
4 years ago
Other questions:
  • How do you uninstall a program using the Control Panel?
    10·1 answer
  • Why is redundancy of data undersirable?
    7·2 answers
  • The Beaufort Wind Scale is used to characterize the strength of winds. The scale uses integer values and goes from a force of 0,
    10·1 answer
  • A technician has a client’s laptop that is randomly shutting down. Which of the following is the FIRST step of the troubleshooti
    10·1 answer
  • Which principle suggests that specific single responsibility interfaces are better than one general purpose interface?
    13·1 answer
  • Complex calculations show that if the universe is geometrically flat, we should observe the greatest temperature differences bet
    9·1 answer
  • Take a minute to reflect on your thoughts and learning so far and discuss:
    13·1 answer
  • Why can’t a computer use source code
    5·2 answers
  • (50 POINTS)
    12·1 answer
  • *the sticker, available in the middle section of the prescription label, will indicate if the customer requested non-safety caps
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!