2. Calculation ProgramA restaurant is having a 15% discount spring promotion.Write a program that will display the total restaurant bill before tax, discount, and gratuity. The program will then use an if date function to determine if we are in the spring season. If we are in the spring season the program will subtract the discount from the bill and display the new bill, sale tax of 7%, gratuity of 20%, and the total bill with all charges and discount.If not, the program will display no promotion, sale tax of 7%, gratuity of 20%, and the total bill with all charges.Here is the link which i got provided in the assignmenthttps://www.youtube.com/watch?time_continue=2&v=DG0C3Tntl1M&feature=emb_logo
WRITE A SIMPLE PHP PROGRAM TO CALCULATE A TOTAL AMOUNT – PROGRAMMING
by root | May 25, 2022 | Write a simple PHP program to calculate a total amount | 0 comments