Question: produce a function calledcanIBuyIt.The function accepts real numbers representing how much an item costs, and how much money the user has. Thefunction should return a
produce a function calledcanIBuyIt.The function accepts real numbers representing how much an item costs, and how much money the user has. Thefunction should return a string that says "Yes, you have enough." or "No, find something for less money." The functionmust add a 4% sales tax to the price before determining which answer to return.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
