
Print Sum of Digits
Write a function to print sum of the digits in a given integer n without converting it to String. For example : if n = 1234 the function should return 1+2+3+4 = 10 if n = 15 the function should return 1+5 =6 if n = 5 the function should return 5.

Logic and Design
Number Analysis Program
Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data:
• The lowest number in the array
• The highest number in the array
• The total of the numbers in the array
• The average of the numbers in the array
Programming Interview Questions
Sub Category
Questions
Answers
Last Updated
Ans