Question: C proggramming Write a program to read in an integer value between 10 and 99 and decompose that number into tens and units. For example,
Write a program to read in an integer value between 10 and 99 and decompose that number into tens and units. For example, 59 will consist of 5 tens and 9 units. In each case, the main function should read the values (keep asking if the number entered is not between 10 and 99 inclusively), call helper function(s) to determine the tens and units values, and those values. You should use one helper function called decomp2 that will return the two "results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
