1. The file Final.txt contains student grades on a final exam. Write a program that displays the number of grades, the average grade, and the percentage of grades that are above the average grade as shown below. Write a main() function to initialize (kickstart) the application, and a calculate percent above_average() function to calculate the percentage of grades that are above the average grade. Hint: Read in the input file Final.txt using the open() method and assign the grades to a list of integers. Number of grades: 24 Average grade: 83.25 Percentage of grades above average: 54.17% 67 56 99 80 83 82 91 94 95 77 88 85 92 91 79 88 82 81 86 94 93 92 45

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section8.3: Random File Access
Problem 6E
icon
Related questions
Question
1. The file Final.txt contains student grades on a final exam. Write a program that displays the number of grades, the average grade, and the percentage of grades that are above the
average grade as shown below.
Write a main() function to initialize (kickstart) the application, and a calculate_ percent above_ average() function to calculate the percentage of grades that are above the average grade.
Hint: Read in the input file Final.txt using the open() method and assign the grades to a
list of integers.
Number of grades: 24
Average grade: 83.25
Percentage of grades above average: 54.17%
78
67
56
99
80
83
82
91
94
95
77
88
85
92
91
79
88
82
81
86
94
93
92
45
Transcribed Image Text:1. The file Final.txt contains student grades on a final exam. Write a program that displays the number of grades, the average grade, and the percentage of grades that are above the average grade as shown below. Write a main() function to initialize (kickstart) the application, and a calculate_ percent above_ average() function to calculate the percentage of grades that are above the average grade. Hint: Read in the input file Final.txt using the open() method and assign the grades to a list of integers. Number of grades: 24 Average grade: 83.25 Percentage of grades above average: 54.17% 78 67 56 99 80 83 82 91 94 95 77 88 85 92 91 79 88 82 81 86 94 93 92 45
1. The file Final.txt contains student grades on a final exam. Write a program that displays
the number of grades, the average grade, and the percentage of grades that are above
the average grade as shown below.
Write a main() function to initialize (kickstart) the application, and a
calculate_percent_above_average() function to calculate the percentage of grades that are
above the average grade.
Hint: Read in the input file Final.txt using the open() method and assign the grades to a
list of integers.
Number of grades: 24
Average grade: 83.25
Percentage of grades above average: 54.17%
1. Using structured english (laymen's), describe the program in question 1 in detail.
1. Hint: use triple double quotes to comment your text.
2. Using pseudocode, solve the programming problem in question 1.
1. Hint: use triple double quotes to comment your text.
3. Using a charting software program of your choice, illustrate the programming problem
in question 1 in flowchart.
1. If charting software is not available, draw the flowchart on paper, take a picture and
submit the image (JPG or PNG)
4. Solve the programming problem in question 1 using python programming
Transcribed Image Text:1. The file Final.txt contains student grades on a final exam. Write a program that displays the number of grades, the average grade, and the percentage of grades that are above the average grade as shown below. Write a main() function to initialize (kickstart) the application, and a calculate_percent_above_average() function to calculate the percentage of grades that are above the average grade. Hint: Read in the input file Final.txt using the open() method and assign the grades to a list of integers. Number of grades: 24 Average grade: 83.25 Percentage of grades above average: 54.17% 1. Using structured english (laymen's), describe the program in question 1 in detail. 1. Hint: use triple double quotes to comment your text. 2. Using pseudocode, solve the programming problem in question 1. 1. Hint: use triple double quotes to comment your text. 3. Using a charting software program of your choice, illustrate the programming problem in question 1 in flowchart. 1. If charting software is not available, draw the flowchart on paper, take a picture and submit the image (JPG or PNG) 4. Solve the programming problem in question 1 using python programming
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr