Program for playing C words in C language
📂 For Education Students
👤 philcoll2009
Product Description
"A word game." The program selects a word and draws as many dashes on the screen as there are words in a word. Guess the word. If the letter that is included in this word is called, then it is substituted instead of a dash. Otherwise, the player loses one point. At the beginning, the player has 15 points.
Additional Information
The program consists of two functions. The main one, which generates a random number n, opens the file and extracts a word with the serial number n from the file. Then the word processing function (drawWord) is called as a parameter, the word read from the file is passed to it. The function replaces the letters in the word with dashes and displays it on the screen. Then, it expects the user to enter a letter. The entered letter is analyzed, if it is present in the word, then the corresponding dash is replaced by this letter, if not, then the user is charged one out of 15 points.
Guessing ends if the user runs out of points or he guesses the word.
The result is displayed.
Guessing ends if the user runs out of points or he guesses the word.
The result is displayed.
No Reviews Yet
Be the first to leave a review for this product!
Related Products
Solution of the K3 Option 10 Dievskaya VA Malyshev IA
Seller: TerMaster
Solution K5 B1 termehu of Reshebnik Yablonsky AA 1978
Seller: TerMaster
Solution of the D1 Option 10 Dievskaya VA Malyshev IA
Seller: TerMaster
Solution of the K4 version 05 Dievskaya VA Malyshev IA
Seller: TerMaster
Solution of the K3 Option 11 Dievskaya VA Malyshev IA
Seller: TerMaster
Solution of task 4.3.14 from the collection of Kepe OE
Seller: Михаил_Перович
Solution of task 4.2.13 from the collection of Kepe OE
Seller: Михаил_Перович
C2 Option 11 termehu of Reshebnik Yablonsky AA 1978
Seller: TerMaster
More from this Seller
criminal evidence
Coursework
Staff turnover analysis
Coursework