Question: Upon starting, the program must ask the user to input its candidate number. In this brief, the candidate number 2 5 6 7 8 3
Upon starting, the program must ask the user to input its candidate number. In this brief, the candidate number is used as an example. Assign each digit to a variable, eg s s s s s and s The program will then show the even numbersand their average as well as the odd numbers and their average. If the sum of even numbers is greater than display the sum of the numbers to the power of otherwise display the square root of the sum
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
