Q1: Write an algorithm and Pseudocode to
calculate an employee’s weekly salary. The salary
is based on the number of hours worked and the
hourly wage. If the employee works more than 40
hours, the extra hours should be paid at 1.5 times
the regular hourly wage.
Q2: Write an algorithm and Pseudocode to
determine the total cost of a customer’s grocery bill.
The algorithm should take into account the prices
of items and the applicable sales tax. If the
customer is a member of the store’s loyalty
program, apply a 10% discount to the total before
tax.