The Student Room Group

translate pseudocode to flowchart

i don't know how to translate pseudocode to flowchart can someone please do it so that i can understand it thanks
start

score = 0

i = 0

song = 0

while (i < 2 and song != Triple H Theme Song)

song = input(Guess the song title T….. H Theme Song)

if (song == Triple H Theme Song)

(Thats the correct song!)

i = i + 1

Else:

(That is incorrect)

i = i +1

if (i == 1)

(You scored 5 points)

score = score + 10

Else:

(You scored 0 points)

score = score + 0

score = 0

i = 0

Answer1 = “”

while (i < 2 and answer1 != B and C)

Who made Triple H Theme Song ?
A. Trish Stratus
B. Johncena
C. AJ Style

if (answer1 == “A”)

(Correct song)

if (i == 0:smile:

score = score + 10

else if (i == 1)

score = score + 5

Else: score + 0

i = 5

Else: (Incorrect)

i=i+1

End
Do you know the flowchat symbols?

basic-symbols.jpg
Original post by medapplicant03
woof lool

:confused:

Quick Reply

Latest

Trending

Trending