Hey, Im an AIE student studying in Amrita University. I still havent figured out what am i good at.
Email me to akshajsr000@gmail.comPublished Nov 12, 2021
Ive never learned or debugged c file before. c was similar to c++ but a lot of methods were different. This task took me some time to complete. Removing syntax errors was easy, i used google for keywords and functions that was new to me. I was lazy to complete it properly but after few weeks i got back into the task used, print and scan statement to go through each line by line. I didnt know the game was hangman since i have never played it before, yeah ik its strange. You can find my code here. Ive pasted my outputs below.
Enter number of rounds of Guessing Game 1
!!!!!!!!!!!!!!!!!!!Welcome to the Guessing Game!!!!!!!!!!!!!!!!!
Enter number of wrong attempts allowed: 5
Enter any word in small letters and press ENTER
Enter ==> apple
Lets start ask your friend to play!!!
Press Enter
You will get 5 chances to guess the correct word
So help Alen and Joseph and get...set...GO..!!
Press enter
||=====
|| |
||
||
||
||
The word has 5 alphabets
_ _ _ _ _
Enter an alphabet from a to z in small case!!
Enter -> a
a _ _ _ _
Enter an alphabet from a to z in small case!!
Enter -> p
a p p _ _
Enter an alphabet from a to z in small case!!
Enter -> x
:( You have 4 tries left
||=====
|| |
|| O
||
||
||
a p p _ _
Enter an alphabet from a to z in small case!!
Enter -> l
a p p l _
Enter an alphabet from a to z in small case!!
Enter -> e
a p p l e
Nice You are the WINNER !!!!!
The Word was apple
EASY HUH???
The Game Score 1 / 1