I am working on a math tutoring program
that asks the user two random numbers from 10 to 100,
and asks them to key in the correct answer within 5 seconds .the program must ask ten questions showing them and then display the score
Jump to Post
You don't actually present the problem to the student - are they supposed to telepathically know what values are returned to x and y?
I would only call srand( ) once, in main( ). The way you are using it, I would expect the same to "random" values to be …
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.