Problem
i. There are three seating categories at a theatre. Row A seats cost $30, Row B seats cost $20, and Row C seats cost $10. Make a program that asks how many tickets for each row of seats were sold, then displays the amount of income generated from ticket sales. Use function to solve this problem.
ii. Make a function that returns area of a rectangle for the given arguments such as length and width from the user, don't print inside the function, use return keyword inside the function to return the calculated value.