Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
02-22-2014, 10:31 PM #1
- Join Date
- Feb 2014
- Thanked 0 Times in 0 Posts
Noob Programming question, need a little bit of guidance.
I'm a little lost, an need a little guidance in which variables to use etc etc, i'll post up what the assignment requires, any help or tips are appreciated. I just can't grasp Java as quickly as everyone else in the course.
Create a Modulus or Multiplication Question Class
Create a program which prompts a user to for how many times they want to be tested and what type of questions they will be tested on.
At the end of each test it totals their score and the time taken to complete the test
They are then prompted to take the test again
After each subsequent attempt they are prompted with the time and score and the average time and Total overall score.
1. Create a main Method
2. Create a Method (RandomNumbers) to create a random number and return it to each of your variables for each of the questions. It needs to accept 1 input which is multiplied by the random number.
3. Create a Method (EnsureHiger) that checks to make sure that the first number is higher than the second number
02-23-2014, 05:24 PM #2
- Join Date
- Jun 2002
- London, England
- Thanked 2,608 Times in 2,586 Posts
But be aware that this forum is not a free coding service. As a general rule, the people helping out in this forum don't write code for others (especially code that appears to be for homework), but try to help with fixing code that doesn't work. You'll be far more likely to get help if you have made a substantial effort and written some code yourself. Then someone here will almost certainly help you correct/improve your work.
Quizmaster: Which British Prime Minister had the second name Hilda?
Contestant: John Prescott.
Last edited by Philip M; 02-23-2014 at 05:49 PM.
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.