#Simple Higher or Lower feature (C)

39 messages · Page 1 of 1 (latest)

finite cipher
#

Got my higher or lower game working (the array is a task from the assignment) but I want it to not tell you whether your higher or lower than the first random number after you've guessed it, and only tell you about the unguessed one. replit link: https://replit.com/@FABERWAR3/C-Coding-Test#main.c

FABERWAR3

Run C code live in your browser. Write and run code in 50+ languages online with Replit, a powerful IDE, compiler, & interpreter.

grave harnessBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.

finite cipher
#

Just want to know how to implement something like this.. cannot think of a solution for the life of me :p

oblique birch
#

Hello

finite cipher
#

hey\

oblique birch
#

@finite cipher gimmie 10 mins

finite cipher
#

ye np

#

i thought it was simple o_O

#

ill keep trying regardless

oblique birch
finite cipher
#

ah ok

#

i got all weekend take as long as u want :p

dim sand
#

We can’t do tests for you

finite cipher
#

is not a test

#

@dim sand

#

i have done all of what was set and the “challenge” already. i just want to improve the program off of my own back and idk how

oblique birch
#

@finite cipher hello

finite cipher
finite cipher
oblique birch
#

@finite cipher what’s the issue

finite cipher
#

so

#

it’s a higer or lower game

#

and part of the assignment was to have an array

#

and i have that

#

so ignore that as it’s weird

#

i want to make it so once u guess one of the two random numbers

#

it no longer gives u a hint for the guessed random number

#

because rn it gives u hints for both until the program exits

#

you understand?

finite cipher
#

yo i hate to be that guy @oblique birch but could you help now? i need it to get on with the next thing :p

finite cipher
#

ok took me an hour but i found an inefficient solution

#

in case ur interested in what i did, its here:

#

but i will close this now

#

!completed

#

fck

#

!solved

grave harnessBOT
#

Thank you and let us know if you have any more questions!

#

[SOLVED] Simple Higher or Lower feature (C)