# programming and visual basics

Using pseudocode or a flowchart write a program that does the following:

Design the logic for the game Hangman, in which the user guesses letters in a hidden word.
Store the letters of a word in an array of characters.
Display a dash for each missing letter.
Allow the user to continuously guess a letter until all the letters in the word are guessed correctly.
As the user enters each guess, display the word again, filling in the guessed letter if it was correct. For example, if the hidden word is computer, first display a series of eight dashes: --------. After the user guesses p, the display becomes ---p----.
Make sure that when a user makes a correct guess, all the matching letters are filled in. For example, if the word is banana and the user guesses a, all three a characters must be filled in.
Change the hidden word to onomatopoeia and adjust the logic to work properly.

1. 👍
2. 👎
3. 👁
1. gdfs

1. 👍
2. 👎

## Similar Questions

1. ### Pseudocode

Write an algorithm and pseudocode that represents a program that allows a user to enter two numbers. Your program should calculate the sum, difference (both directions), product, and quotient (both directions) of the two numbers.

2. ### Programming

Write a pseudocode to represent the logic of a program that allows a user to enter an hourly pay rate and hours worked. The program outputs the user's gross pay

3. ### Programming logic and design

Design a program that lets the user enter the total rainfall for each 12 months into an array. The program should calculate and display the total rainfall for the year the average monthly rainfall, and the month with the highest

4. ### computer

Write an algorithm for a program that accepts a set of numbers and finds the smallest among them and computes the sum of the numbers accepted. The program stops when the user enters number 999. Convert the algorithm into flowchart

1. ### computer programming

Design the logic for a program that allows a user to enter any amount of numbers up to 10 or until a sentinal value of -1 is entered. Then the program displays the count of the numbers entered and numeric average of the numbers

2. ### computer science

Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the resultâ€¦

3. ### Pseudocode

Write a program in pseudocode format: 1. Robert has a van rental company, and he wants a program that determines the total cost of renting a van from him. His customers will pay a base fee (currently set at \$50), plus a charge per

4. ### Cmin

Draw a flowchart and write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of and the difference between the two values.

1. ### Programming concepts

Develop a menu-driven program that inputs two numbers and, at the userâ€™s option, finds their sum, difference, product, or quotient. top-down modular approach and pseudocode to design a suitable program to solve it. I am having

2. ### CIS

Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the result.

3. ### programming

I need help with creating both pseudocode and a flowchart to design a mobile app. The app will write the device's latitude and longitude to a file each time the device's location changes.

4. ### Programming

Write pseudocode to represent the logic of a program that allows the user to enter a value for hours worked in a day. The program calculates the hours worked in a five day week and the hours worked in a 252 day work year. The