Question: Using C language. Ask user to enter your student candidate number, calculate the sum of the digits. If the sum is less than 20, display
Ask user to enter your student candidate number, calculate the sum of the digits. If the sum is less than 20, display the sum to the power of 2, otherwise display the square root of the sum. If the sum equals to 25, display this sum as well. (15 Marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
