Write a single statement to add up the first digit and the last digit of a three digit number stored in the
variable named x and assign the sum to y.
Answers
Answered by
3
Answer:
y = x % 10 + x / 10;
Similar questions