user to input a set of names and grades and store them in seperate arrays. *Validate that the grade entered is an integer from 0-100, and prompt user to correct entry. *Calulate the average grade, lowest grade, highest grade, 60 and above passes, below 60 fails and out info in a message. Ive got it working up to calculating the sum. I dont want the user to have to enter anymore input. I really just need help figuring out a condition that will get me out of this loop so I can continue finishing the program. Please follow along through the flow chart tho fully
user to input a set of names and grades and store them in seperate arrays. *Validate that the grade entered is an integer from 0-100, and prompt user to correct entry. *Calulate the average grade, lowest grade, highest grade, 60 and above passes, below 60 fails and out info in a message. Ive got it working up to calculating the sum. I dont want the user to have to enter anymore input. I really just need help figuring out a condition that will get me out of this loop so I can continue finishing the program. Please follow along through the flow chart tho fully
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Im trying to get this Raptor program to: *Allow user to input a set of names and grades and store them in seperate arrays. *Validate that the grade entered is an integer from 0-100, and prompt user to correct entry. *Calulate the average grade, lowest grade, highest grade, 60 and above passes, below 60 fails and out info in a message. Ive got it working up to calculating the sum. I dont want the user to have to enter anymore input. I really just need help figuring out a condition that will get me out of this loop so I can continue finishing the program. Please follow along through the flow chart tho fully understand my approach to accomplishing this.
![D
i+1
ню
done string
Start
Loop
"Enter students name, or done to proceed to next
step: "
GET name[i]
name[i]=="done"
Yes
i+i+1
i+1
No
size (length_of(name) - 1)
grade[i] +1
Loop
Loop
Enter grade for "+name[i]+":"
GET grade[i]
< X
> ☐
90%
[1:1]
✓
+
st
size (length_of(name) -
grade[i] +1
Loop
Loop
Enter grade for "+name[i] +":"
GET grade[i]
2024-03-09.png
Average
GetLOWCST
Need to exit the
0 <= grade[i] and grade[i]
<= 100
loop
Yes
No
PUT "Invalid Input. Entry must
be an integer (0-100)"¶
日
Yes
7.
i == size
No
i+i+ 1
CalculateAverage(grade)
Yes
Start (in grade, out avg, in name)
i+1
name[i] +0
count 0
sum 0
Loop
i==(length_of(name) - 1)
No
sumsum + grade[i]
count count + 1
i+i+ 1
getLowest(grade)
avg sum/length_of(grade)
End
end
Q](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F75699c36-9bfd-46ae-92b3-54177ae381b0%2F38b11c1a-9d20-4b70-ba5f-484ac3858aa7%2Fyqn22da_processed.png&w=3840&q=75)
Transcribed Image Text:D
i+1
ню
done string
Start
Loop
"Enter students name, or done to proceed to next
step: "
GET name[i]
name[i]=="done"
Yes
i+i+1
i+1
No
size (length_of(name) - 1)
grade[i] +1
Loop
Loop
Enter grade for "+name[i]+":"
GET grade[i]
< X
> ☐
90%
[1:1]
✓
+
st
size (length_of(name) -
grade[i] +1
Loop
Loop
Enter grade for "+name[i] +":"
GET grade[i]
2024-03-09.png
Average
GetLOWCST
Need to exit the
0 <= grade[i] and grade[i]
<= 100
loop
Yes
No
PUT "Invalid Input. Entry must
be an integer (0-100)"¶
日
Yes
7.
i == size
No
i+i+ 1
CalculateAverage(grade)
Yes
Start (in grade, out avg, in name)
i+1
name[i] +0
count 0
sum 0
Loop
i==(length_of(name) - 1)
No
sumsum + grade[i]
count count + 1
i+i+ 1
getLowest(grade)
avg sum/length_of(grade)
End
end
Q
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images

Knowledge Booster
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.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education