Question
1) Write a program to perform the following arithmetic operation; addition, subtraction, multiplication, and division. The user are required to enter 2 integers as the
1)
Write a program to perform the following arithmetic operation; addition, subtraction, multiplication, and division. The user are required to enter 2 integers as the input. By using these inputs, the user can select which arithmetic operation to be done. The user can perform the operation on one time inserted data as many times as they wish. In this exercise, you need to fully utilize the use of pointers and functions.
2)
Develop an interactive program that reads a dollar amount as an integer and then determines and prints the minimum number of bills of RM50, RM20, RM10, RM5 and RM1 denominations in it. For example, if the dollar amount is RM179, your program should print that it consists of three RM50, one RM20, zero RM10, one RM5 and four RM1 bills. Your program should execute as long as the user wants to continue.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started