Question: Written in JAVA File 10 Ask for input from the keyboard where you can enter all the cities that you have visited during the last
Written in JAVA

File 10 Ask for input from the keyboard where you can enter all the cities that you have visited during the last year in the sequence you had visited them. Store the answers in a stack. Use a loop to keep asking for the cities. Once you are done collecting the cities write the data stored in the stack to a file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
