Question: please code in java ASAP !! Thank you!!! For this lab you are required to fultill all requirements exactly as described in this provided document,
please code in java ASAP !! Thank you!!!
For this lab you are required to fultill all requirements exactly as described in this provided document, no less, no more. Problem: Write a Java program that will prompt for and read one non empty positive numeronym (number-based) word entered by the user, and create a new word which contains the character { followed by the 1st digit of the reverse numeronym, followed by the last digit of the numeronym, then the 2nd digit of the reverse numeronym, the 2nd to the last digit of the numeronym, and so on, and ends with the character } as pictured in the figure below: You can use the loop of your choice to solve the problem. You are not allowed to use arrays. Be sure to use the same format and wording as in the sample run in the table below. Based on the previous specifications your program should behave and look exactly as shown in the cases below. Your program should work for any positive non empty numeronym entered by the user, not just the ones in the samples. Note that in the output symbol is a space and & is a new line character. All words except for user input (in bleu) must be exactly as indicated in the sample outputs. Any extra "spaces" and/or "new lines" will be graded a wrong answer. Program Sample outputs Note 1: You are to expect a perfect user who will always enter 1 numeronym with a length greater than 1; that is, do not verify the validity of user input. Note 2: The use of libraries other than java.util.Scanner is prohibited. Your program must work for any string values entered, not just the ones in the samples above. Note 3: Final thought, remember that your solution is space-sensitive and fulfill the above instructions carefully and precisely
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
