Write a program to input a number. Usingwhile loopperform the followingin one single program.a.Find the number of digits in inputb.Display all the digits in new linec.Check whether there are even no.of digits or odd no.of digits in inputd.Find the sum of digitsSample Input : 372Sample Output : 3 digitsDigits in input are: 372The given input has odd no.of digits.Sum of digits = 1
Answers
Answered by
0
Answer:
which programming language bro?
Similar questions
Math,
1 month ago
Math,
1 month ago
Physics,
3 months ago
English,
9 months ago
Social Sciences,
9 months ago