start fillArray() Declarations num SIZE = 10 num MAX = 6 string name num scores [SIZE] num x output "Enter the student's name" input name num y num temp num total num COMPS SIZE -1 fillArray() sortArray() 0 Yes x < SIZE? No return output "Enter a quiz score" Stop displayArray() sortArray() 76-0-1 displayTotal () Yes Y < COMPS? No total = 0 return Yes x < MAX? No output name, total return input scores [x]/ x < COMPS? Yes swap () temp scores [x+1] scores [x+1] scores [x] scores [x] temp return No No scores [x] > scores [x+1]? Yes y = y + 1 total total scores [x] x=x+1 x=x+1 swap()
start fillArray() Declarations num SIZE = 10 num MAX = 6 string name num scores [SIZE] num x output "Enter the student's name" input name num y num temp num total num COMPS SIZE -1 fillArray() sortArray() 0 Yes x < SIZE? No return output "Enter a quiz score" Stop displayArray() sortArray() 76-0-1 displayTotal () Yes Y < COMPS? No total = 0 return Yes x < MAX? No output name, total return input scores [x]/ x < COMPS? Yes swap () temp scores [x+1] scores [x+1] scores [x] scores [x] temp return No No scores [x] > scores [x+1]? Yes y = y + 1 total total scores [x] x=x+1 x=x+1 swap()
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 10RQ
Related questions
Question
Professor Zak allows students to drop the four lowest scores on the ten 100-point quizzes given during the semester. Create the pseudo code for an application that accepts a student name and 10 quiz scores. Output the student’s name and total points for the student’s six highest-scoring quizzes.
Use the following flowchart to determine the programming logic for your pseudocode. The pseudo code should outline the basic logic needed to code the application in any programming language.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,