Write a program to read a four digit integer and print the sum of its digits.Write a program that reads a floating point number and then displays the right-most digit of the integral part of the number.
-
Interview Candidate
- Oct 21st, 2007
- 14
- 42490
Showing Answers 1 - 14 of 14 Answers
Write a program to read a four digit integer and print the sum of its digits.Write a program that reads a floating point number and then displays the right-most digit of the integral part of the number.