Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dont need full code, just possible ideas how to make and function names, etc. Simple no need to make a figure. Thanks for any help.

image text in transcribed

Dont need full code, just possible ideas how to make and function names, etc. Simple no need to make a figure. Thanks for any help.

Hangman Write an interactive program that plays a game of hangman. Store the word to be guessed in successive elements of a 1-dimensional array of individual characters named word. The program should terminate when either all letters have been guessed correctly (the player wins) or a specified number of incorrect guesses have been make (the computer wins) Hint: Use a second 1-dimensional array of characters guessed, to keep track of the solution so far. Initialize all elements of guessed to the symbol. Each time a letter in word is guessed replace the corresponding" in guessed with that letter Your program should be modular, with separate functions for input, each part of the processing and output. Your output should be well-organized, neat, and easy to read. Design your program by completing the CS 250 Program Design Document. Be sure to include a structure chart for the program, a prototype and brief description for each function and time estimates for program design, coding each function, program testing, and total time Save the design in a file named HangmanDesign_xxx.doc where xxx are your initials. Submit your program design in the Program 1 Design drop box in D2L by the beginning of the class preceding the program due date. Write your program and save it in a file named hangman_xxx.cpp where xxx are your initials Compile, run and test your program Update your Program Design Document by updating the structure chart, function descriptions and function prototypes to fit your working program. Add the final times based on the time you actually spent on your program. Save the updated document. Submit your final Program Design document and working cpp file in the Program 1 drop box by the due date shown in the D2L calendar and drop box tools

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_2

Step: 3

blur-text-image_3

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 Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions