Mr. Mtobesya requested your Lab group to design and implement a program to assist his child to do arithmetic operation. The program should accept two integers or floating point numbers. After...

Mr. Mtobesya requested your Lab group to design and implement a program to assist his child to do arithmetic operation. The program should accept two integers or floating point numbers. After processing the program should print the total, difference, product and quotient of the entered numbers. During processing, the first number should be considered as the dividend. The program should be able to check if the divisor is a non zero integer otherwise the output from division will be stated as haiwezekani. This program should have a selection engine implemented using switch case to select the operation to be performed. Organize the program into six functions: datainput, calsum, caldif, calpro, calqout, a dataoutput Use functions which does not pass parameter and does not return value to calling function. Use functions which does not pass parameter but return values to the calling function. For each implementation modality above, analyze the execution of each line of code using the RAM diagram.

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here