I NEED URGENTLY PLEASE DONT IGNORE ME THANK
YOU!
HERE IS MY DATA DICTIONARY MY TU TOR GIVE ME A
COMMENT
COMMENT: The range is basically the min and max value that
a variable can hold. For example choice range : 1 to
3….
PLEASE FIX MY PROBLEM
programming language: C#
MY CODE
Sub Main()
REM LOOP STARTS HERE !!!!!
REM Following block
of code repeats until the user chooses 3 or any value other than
therange(to REM quit)
Declare a flag f with value 0
Do Until
f==1
REM Menu appears on-screen giving choices(1 REM instructions, 2
play, 3 exit)
menu()
REM Get choice from user from keyboard
get_choice()
If( choice >= 1 && choice
<= 3) THEN
REM do choice
f=do_choice()
Else
break
END_If
Loop
REM LOOP ENDS HERE
!!!!
Sub do_choice()
REM if user has
chosen 1
If (choice = 1)
Then
REM Show instructions
instructions()
return 0
ElseIf (choice = 2)
Then
REM if user has chosen 2
REM Play Game
play()
return 0
Else
REM if user has chosen 3
REM Quit program
quit()
return 1
End If
End Sub
Variable name Purpose
Data Type JINT
Valid Range
Choice
Choice holas the users choices trom menu
2,147,483,648 to 2.147.483.647 2,147,483,648 to 2,147,483,647 2,147,483,648 tc 2,147,483,647
Answer
Answer holds the users current answer
INT
Score
Score holds the users total score
INT