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
- 7
- 42378
Showing Answers 1 - 7 of 7 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.