Computer Science, asked by mcjuniadiqbal, 5 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
0

Answer:

y = x % 10 + x / 100;

Similar questions