write an algorithm to accept a number and display digit in its unit place.
Answers
Answered by
1
If you are talking about printing the one digit of an integer in C:
int n = 2345; /* assuming a value >= 0 */
printf(“%i”, n % 10); /* prints 5 */
Answered by
0
Answer:
5,2,4,85,56,86,43,100,50,200,100
Explanation:
Similar questions