Write an OCTAVE code that calculates the tip based on amount of bills, using the following rules and the variable ‘bill’: • bill is less than 15 ₺, Tip is 1,50 ₺ • bill is between 15 ₺ and 70 ₺, Tip...


Write an OCTAVE code that calculates the tip based on amount of bills, using the following rules and the variable ‘bill’:



• bill is less than 15 ₺, Tip is 1,50 ₺


• bill is between 15 ₺ and 70 ₺, Tip is %15


• bill is above 70 ₺, Tip is % 19



a)​Draw the flowchart of the solution


b)​Write the Octave code



Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here