translate pseudocode to flowchart

Watch this thread
Lily09897
Badges: 9
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#1
Report Thread starter 1 year ago
#1
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

score = score + 10

else if (i == 1)

score = score + 5

Else: score + 0

i = 5

Else: (Incorrect)

i=i+1

End
0
reply
Toast210
Badges: 16
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#2
Report 1 year ago
#2
Do you know the flowchat symbols?

Name:  basic-symbols.jpg
Views: 11
Size:  30.6 KB
0
reply
lstocber
Badges: 14
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#3
Report 1 year ago
#3
This should help.

https://www.geeksforgeeks.org/an-int...to-flowcharts/
0
reply
lstocber
Badges: 14
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#4
Report 1 year ago
#4
(Original post by medapplicant03)
woof lool
:confused:
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

How did your AQA A-level Psychology Paper 1 go?

Loved the paper - Feeling positive (126)
38.53%
The paper was reasonable (156)
47.71%
Not feeling great about that exam... (31)
9.48%
It was TERRIBLE (14)
4.28%

Watched Threads

View All