Starting from:
$30

$24

Intro to Programming in C: Prog 8 (Cumulative) Solved

To compile, build, and execute an interactive program with using loops, file input and character arrays with the null character (strings).

   Libraries and Skills
This assignment will require the standard input-output C library, the C-Type library, and the string.h library.
This assignment will require these skills:
- file input and output
- string manipulation
- file reading

   Instructions
    Do not modify any of the functions for this assignment.
1. Get the users first name
1. Greet the user by name and explain the game
1. Get a solution word from a file
1. Get a scrambled word from the same file as number 3
1. Get the length of the solution word (it is the same as the scrambled word)
1. Change the solution word to all uppercase characters
1. Change the scrambled word to all uppercase characters
1. Display the scrambled word
1. Ask and get the guess word from the user (Let the user guess twice)
1. Get the length of the guess word
1. Change the guess word to all uppercase letters
1. Compare the guess word to the solution
1. Let the user know if they guessed correctly
1. If they did not guess correctly display the solution
1. Let the user decide if they would like another word.
1. Say goodbye

More products