Hey guys I need a bit of help with a project.
I need to make a program that when you click start game it generates a random number from 1-100.
then you pick difficulty, easy has 15 lives, medium has 10 and hard has 5.
Everytime you submit a number and its wrong you lose a life.
if the number you submit is within five numbers of the number needed then if will say you are within 5 numbers of it.
if you you get the right number it will say you won and all your able to do is press start game or x you exit program.
during the program you can reset by pressing start game.
would anyone be able to help me do this program with tips/code so I can have it done in time?