0% found this document useful (0 votes)
2 views2 pages

Pseudocode SBA 2022 Draft

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Pseudocode SBA 2022 Draft

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Pseudocode

Title: School Votes Analyst

User: Joshua Wilson-Dumont

Date: Monday 28th February 2022

Variables: no_staff, no_voted , numschool , total_votes_cast ,


no_not_cast , percentage_cast , non_perecenatge_cast , highest_votes,
entry , acronym, highest_voted_school

Start

entry = True
Highest_votes = 0
No_voted = 0
Numschool = 0
Percentage_cast = 0
non_perecntage_cast = 0
highest_votes = 0
highest_voted_school = “”

while entry = True do

Print “Enter Your School’s Acronym:”


input acronym
if acronym <> (not equal to) END
then entry = true
Numschool = numschool + 1

Print “Enter the number of teachers on staff:”


Input no_staff (int)

Print “Enter number of votes cast:”


Input no_voted (int)

else
entry = False
END IF

ENDWHILE

Output “Thank you for using this Program ”

END

You might also like