Write a program that prompts the user for two intergers and one of the letter codes A,S,M, or D. The interpretation is given by the following table: Letter-----Meaning a----------add s----------subtract m----------multiply d----------divide The function MAIN issues the prompt and stores the user's input in the variables num1,num2, and operator. Then main checks the letter code. If the letter code is A, main invokes the function add with arguments num1 and num2 and similarly for s, m , and d. Each of the functions add, subtract, multiply and divide invokes the function print_result, which prints the result of the arithmetic operation.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
Please use Microsoft visual C++ BUT write it in C