Haha thanks for that but we haven't learned about the string library so i'm not really sure what that does.
Also after each correct letter is guessed it needs to properly show which ones were...
Type: Posts; User: jstrike21
Haha thanks for that but we haven't learned about the string library so i'm not really sure what that does.
Also after each correct letter is guessed it needs to properly show which ones were...
Yes that somewhat makes sense and that is how i believe it is supposed to be done but i am having trouble putting that into code
#include <stdio.h>
#include <stdlib.h>
int main()
{
char word[] = {'j','a','r','i','d'};
char let,i;
for(i=0; i<10; i++){
printf("Guess a letter: ");
I have to create a basic hangman game for a class using two arrays. What I am struggling with is when the user inputs the letters and gets them right i dont know how to output the letters hes has...