Please help with C++
Create a program that calculates appropriate tips for a range of different tip percent to leave after a meal at a restaurant. Console Tip Calculator Cost of meal: 52.31 Enter minimum tip percent: 15 Enter maximum tip percent: 25 15% Tip amount: 7.85 Total amount: 60.16 20% Tip amount: 10.46 Total amount: 62.77 25% Tip amount: 13.08 Total amount: 65.39 Specifications . The program should calculate and display the cost of tipping based on the cost of meal and a range of tip percent which is an arithmetic progression with a common difference of 5. . The program should accept decimal entries like 35.5 and 14.25 as the cost of meal. . Assume the user will enter valid data.
Please help with C++
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am