Question: java (5 points) Ask the user to enter the name of a file, create a file with that name and prompt the user 5 times

(5 points) Ask the user to enter the name of a file, create a file with that name and prompt the user 5 times to enter their favorite classes, write them to the file 1 line per class O DELL F12 Pets Question 19 (5 points) Write a method simon Says that prompts the user to enter a command, ensure the command starts with "simon says" (use a validation loop), then return the string command. 12 15 20 search c DELL FA2 PRISER F11 F9 F10 FB F7 F6 F5 F4 F3 F2 8 * ) A 1 2 % 5 $ 4 & 7 # 3 9 8 0 0) 6 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
