Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help writing this program COP2220 Program 1 Algorithm example Letter Guess game 1. Greet the user and display instructions 2 Ask the user how

Need help writing this 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 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

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

More Books

Students also viewed these Databases questions

Question

what is algorithm flowchart and pseudocodes explain with example

Answered: 1 week ago