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
A c++ member function that uses, but does not change, the value of a member variable is called
Elina [12.6K]
Call by reference.

Hope this helps
5 0
3 years ago
The ________ method displays a message to the user and contains one button.
jolli1 [7]
<span>The <em><u>message box</u></em> method displays a message to the user and contains one button.</span>
6 0
3 years ago
How long does a bankruptcy affect your financial reputation
Diano4ka-milaya [45]
It effects it until it is refilled to its normal amount
3 0
3 years ago
To determine why a computer program started to function differently, Mel should most likely use data to
Amiraneli [1.4K]

Answer:

convince the software company of the issue

Explanation:

3 0
3 years ago
Read 2 more answers
Name at least TWO kinds of gaming experiences that are possible with these new control devices but were not possible on original
Pie

Yes the ansewer is c bc you can look it up!


6 0
3 years ago
Other questions:
  • Changing the user name in the word application is completed through the __.
    10·2 answers
  • Can a computer will work more efficiently if you perform disk optimization
    9·1 answer
  • Help me on this question
    14·1 answer
  • Assume that input file references a Scanner object that was used to open a file. Which of the following while loops shows the co
    6·1 answer
  • which three objects can be linked or embedded in a word document? A. worksheets, margins, colors B. charts, worksheets, images C
    7·1 answer
  • A(n) ________ moves over the spinning platters to retrieve data from the hard disk.
    6·1 answer
  • Describe three perimeter intrusion detection systems and give an example of one that you have seen deployed either at work or an
    8·1 answer
  • In an information systems framework, ________ is the bridge between the computer side on the left and the human side on the righ
    14·1 answer
  • ______ are used to store all the data in a database.
    7·1 answer
  • A program that allows employees to choose their starting and ending times, as long as they are at work during a specified core p
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!