Please enable JavaScript.
Coggle requires JavaScript to display documents.
write a program - Coggle Diagram
write a program
hangman
the program will tell them if they guessed a letter wrong and tell them to guess again
the user will guess letters of the mystery word until they have guessed the full word
if they guess a letter right then the program will tell them where in the word it is
elements
functions: use print and input functions
variables: used for the mystery word
decisions: use if and else to show user if the letter they guessed is in the word
file access: use file access for the word options
loops: used to keep asking 'guess a letter' until the user guesses correctly
quiz
will ask a question about a topic (me)
under the question will be options for the answer (A-D)
user will type the letter of what answer they think it is
elements
decisions: use if and else to say if the user got the question correct
file access: use file access to display the questions and options for the quiz
variables: counter and choice variable
loops: use loops to keep track of the score
functions: use print to show the questions