Skip to content
Snippets Groups Projects
Commit 83a7723d authored by Christopher Bohn's avatar Christopher Bohn :thinking:
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
float payRate
float hoursWorked
float grossEarnings
payRate = Get next input
hoursWorked = Get next input
grossEarnings = hoursWorked * payRate
Put grossEarnings to output
Put "A" to output
Put "B" to output
Put "C" to output
Put "D" to output
Put "F" to output
float examGrade
if examGrade >= 90
elseif examGrade >= 60
elseif examGrade >= 70
elseif examGrade >= 80
examGrade = Get next input
else
Put averageScore to output
averageScore = sumOfScores / numberOfStudents
currentStudent = 0
currentStudent = currentStudent + 1
currentStudentScore = Get next input
float averageScore
float currentStudentScore
float sumOfScores
integer currentStudent
integer numberOfStudents
numberOfStudents = Get next input
sumOfScores = 0
sumOfScores = sumOfScores + currentStudentScore
while currentStudent < numberOfStudents
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment