Question: CODE IN ERLANG 6. Function calculate Bill that takes a list of tuples, where a tuple is of the form name, price, tax_rate, and returns
CODE IN ERLANG

6. Function calculate Bill that takes a list of tuples, where a tuple is of the form name, price, tax_rate, and returns a list of tuples, where each tuple is of the form name, total, where total = price + price * tax_amount add appropriate test cases to the test file 6. Function calculate Bill that takes a list of tuples, where a tuple is of the form name, price, tax_rate, and returns a list of tuples, where each tuple is of the form name, total, where total = price + price * tax_amount add appropriate test cases to the test file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
