You’ve decided to keep track of your expenses and your income this month. You have recorded all the expenses in
expenses.txtfile each on a separate line while keeping track of the income in
income.txtfile following the same format.
Now you would like to know if you have spent more than you earned or if you’ve stayed within the limits.
The program should print
Great, you've stayed within the limits!if the expenses do not exceed the spending, and
We need to cut the spending the next monthotherwise.
expenses.txt 200 300 income.txt 100 400 500 Output Great, you've stayed within the limits!