Question: java application CISB3123/CISB254 Introduction to Object-Oriented Programming Assignment One Key in the above sample program. Trace and observe the usage of Random class and its
CISB3123/CISB254 Introduction to Object-Oriented Programming Assignment One Key in the above sample program. Trace and observe the usage of Random class and its nextInt () method. Note: modify the integer 20 at the yellons color highlighted statement and obsene the output. Question Computer are playing an increasing role in education. Create a main class that will help an clementary school student to leam multiplication. Use Random class's method to generate two random integers and display the multiplication question using the randomly generated integers. For example: How much is 6 times 7?6 and 7 are randoni generated integers The student then keys in the answer. Your program should check the student's answer. If it is correet, display "Very Goodl" and then continue with another multiplication question (Your program should prompt the student whether they wish to conrinue to the next question). If the answer is wrong. display "No. Please try again." and then let the student try the same question again repeatedly until the student finally gets it right, Note: The program responses to the student answer must be change according to the attempts. Rexponses to a correct answer: - Very Cood! - Excellent! - Nice Work! - Keep up the good work. Responses to an incorrect answer: - No. Please try again. - Wrong. Try ance more. - Don't give up! - No, Keep Trying
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
