Search i-need-help-completing-this-i-have-figured-out-the-dimensions-through-trial-and-error-but-i-don-t-know-how

# I need help completing this i have figured out the dimensions through trial and error but i don t know how

## Top Questions

to help me do it with statistics
View More

to work through it with me so i can better understand things. Thank you!
View More

enter the numbers on Excel I am not coming out with a straight line I'm doing something wrong
View More

. I'm really close to completing it and I'm really stuck on this one situation and I don't know how to solve it. So right now I'm making a guessing game and every time you play the program tells the user how many guesses it took for them to get the answer. And what I need to do is to make sure that I get and isolate the lowest amount of guess and put it into the statistics function so that way it can print out the lowest amount of guesses that I got. Right now it isn't working and I really don't know why as it seems to be mostly adding up all the guesses until the last few. Here's my code: #include #include #include #include void haiku(){ printf("Welcome to the game.\n"); printf("Guess a number within range.\n"); printf("Win cool prizes here.\n\n"); } int compare(int guessiso){ int lowestvalue=0; int biggervalue=0; if(guessisooperand){ printf("It's lower.\n"); count++; isolatedcount++; } else if(user0){ lowguess=compare(x); x=one_game(count); count=x; printf("Do you want to play again?\n"); scanf("%d",&usertwo); userthree=usertwo; gamecount++; } statistics(gamecount,x,lowguess); }
View More

it that I am in the weeds with these. I can solve it up to completing the table. It's finding the rule that is a pain.
View More