Q1. Design a class named math to overload operator \"+\", \"-\", \"*\".After thi
ID: 3608733 • Letter: Q
Question
Q1. Design a class named math to overload operator "+", "-", "*".After this overload add subtract and miultiply two integers.Q2. Design a Cash register, using classes. It should be able tohave following functions, Cashdeposit, cashwidraw and cashtotal.program should be able to perform all functios of a cash register.like deposit widraw and calculate and display cash at the end oftransaction.
Q2. Design a Cash register, using classes. It should be able tohave following functions, Cashdeposit, cashwidraw and cashtotal.program should be able to perform all functios of a cash register.like deposit widraw and calculate and display cash at the end oftransaction.