Question: Strings of numbers and letters in java Project Idea java A program that displays a set of strings of numbers and letters to the user,
Strings of numbers and letters in java Project Idea java A program that displays a set of strings of numbers and letters to the user, and then asks the user to guess the next number or letter in the string. Project requirements and details At the start of the program, the program reads the users data (the users name, date of birth), and then the options are displayed. the following to the user and ask him to choose: 1 - Start a new game When choosing this option (Option No. 1), the program automatically processes a string of numbers or letters, then displays it on the console, and then asks The program asks the user to guess the next number or letter in the string and enter it through the console Correct, the program prints the sentence "Excellent, correct answer", but if the answer is wrong, the program prints the sentence "Wrong answer", In both cases, a new puzzle is re-showed to the user for him to answer, until the user enters the word stop, at which point he stops. programme, here are some examples: 1, 3, 5, 7, ?, 11, 13, 15, 17 What is the hidden number? This value will be entered by the user // 9 Excellent 5, 7, 11, 17, 25, 35, 47, ?, 67 What is the hidden number? This is the value that the user will enter // 22 Oh, Wrong answer. The answer is 51 A, C, E, G, ? , K, M, O, Q What is the hidden character? This is the value that the user will enter // I Excellent Notes The process of processing the series of numbers will be completely random and automatic, in the sense that the starting number or letter in each series and the difference between the number Or the letter and what follows it will be random numbers and letters, and the operations themselves are not fixed, as they may be addition, subtraction, or remainder operations Divide, multiply or raise a power. For every correct answer the user has to score his score is increased by 2. 2 - View user data When choosing this option, the user data that he previously entered is displayed (with the display of the user's age, by calculating it by date). birth) with the grade he obtained during the playing process. 3 - Exit When choosing this option, the program is closed and exited.
1,3,5,7,?,11,13,15,17 What is the hidden number? Excellent 5,7,11,17,25,35,47,?,67 What is the hidden number? 22 // Oh, Wrong answer. The answer is 51 A, C, E, G, ?, K, M, O, Q What is the hidden character? Excellent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
