Question: Exercise #1: count even digits Given an integer (n), write a program to count and display the number of its even digits. The input value

Exercise #1: count even digits Given an integer (n), write a program to count and display the number of its even digits. The input value can vary in its number of digits. See examples below, Sample Input / Output Enter an integer: 125 25 has 1 even digits. rocess returned 0 (0x0 execution time 5.653 s ress any key to continue. Enter an integer: 98064513 98064513 has 4 even digits. rocess returned 0 (0x0) execution time 11.151 s ress any key to continue. 1/2 Exercise #2: Upper/Lower case characters Given a sequence of characters ending with"#", write a program to convert every upper-case character to lower-case and each lower-case character to upper-case. Sample Input/ Output nter a sequence of characters ending with PPLEpie rocess returned 0 (0x0) execution time6.995s ress any key to continue. Apple PIE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
