Question: A text file (credit_transactions.txt found in Programs/Lesson2/Homework tab) contains one months credit card purchases. The file might look like this: Bicycle 562.30 Gas 54.32 Groceries
A text file (credit_transactions.txt found in Programs/Lesson2/Homework tab) contains one months credit card purchases. The file might look like this:\ Bicycle 562.30\ Gas 54.32\ Groceries 126.44\ Hotel 235.88\ \ ...\ Write a program that reads this file and determines the most expensive purchase. Your program should prompt the user for the filename. Write the output to the screen. This can all be done in the main method..
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
