Computer Science, asked by mcjuniadiqbal, 7 months ago

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 Oreki
3

Answer:

y = x % 10 + x / 10;

Similar questions