Question: Using Matlab Use of the if-elseif-else-end statement to create the program calculates the service charge in a restaurant according to the amount of the bill.

Using Matlab Using Matlab Use of the if-elseif-else-end statement to create the program calculates

Use of the if-elseif-else-end statement to create the program calculates the service charge in a restaurant according to the amount of the bill. If the bill is less than Php 1000 the servise charge is 5% of the bill. Between Php 1000 and Php 2000 the service charge is 10% of the bill. Above Php 200 - the tip is 15% of the bill. Use format bank

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!