Challenge
No
Change the tip program, so that the user can enter a custom tip amount. Instead of 0.15, the user can enter whatever s/he wants.
The worksheet could start like this:
The user clicks the button and sees:
If the user changes 0.15 to 0.2 and clicks the button:
Hints:
- Start by adding a row for tip rate on the worksheet.
- Add a new variable to the code.
Upload your worksheet.
If you were logged in as a student, you could submit a solution to this exercise.
Where referenced