MISCELLANEOUS EXERCISE - 2 -Solve the following problems-24