Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help writing program COP2220 Program 1 Algorithm example Letter Guess game 1. Greet the user and display instructions 2 Ask the user how many games

Help writing program
image text in transcribed
COP2220 Program 1 Algorithm example Letter Guess game 1. Greet the user and display instructions 2 Ask the user how many games they want to play 3. Get the number of games from the user 4. Get a letter from the file 5 Change the letter to uppercase 6. Ask the user to guess a letter 7. Get the users guess 8. Change the users guess to uppercase 9 Check if the users guess matches the letter from the file if it is a match tell the user they have won and go to step 11. if it is not a match, give the user feedback and go to step 10. 10. Check if the user has used up the maximum number of guesses if the user has not used up the max guesses go to step 6. if the user has used up the max guesses tell the user they have lost and go to step 11. 11. Check if the number of games the user wanted to play have been played if the user has more games to play go to step 4. 12. say good bye to the user

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

More Books

Students also viewed these Databases questions

Question

=+ (d) Show that \, (He 0) =0 and A*(H) =1.

Answered: 1 week ago