this is the first project the next project will be using functions
and this is only the 1st part so the return 0 is at the very end
but thank you so much for all the help, there is a lot more to go...
Type: Posts; User: Quickstero
this is the first project the next project will be using functions
and this is only the 1st part so the return 0 is at the very end
but thank you so much for all the help, there is a lot more to go...
Alright last issue, the program will only generate the random number 10 and wont change
update:
never mind now it works.
thanks so much now i can move onto the next one, which there will probably be another post later.
alright, lets try this out
why would it continue to tell the user to guess higher
alright now it wont get off of the screen where it says guess higher.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
main()
{
int x, y;
ah okay i remember that now let's see how this works
also another issue is when trying to go to the second part of the program, it just goes to the guessing game.
well the plan is when the user inputs the number for y it will check to see if the number is the same as the random number that the computer guess
variable x is irrelevant to this part as it is to decide which game to go to
variable y is the interger the user guesses
variable randomnumber is the number the computer generates
variable z is to...
this is the first part of a program i have to make for a class and i need help with the guessing game part.
when i type in a number to guess what number the computer has, it always says that i've...