Computer Science, asked by pavithra1471, 8 months ago

write a java program to calculate the sum of the highest digit and the lowest digit of the number n
ex. n = 7859
highest digit = 9
lowest digit = 5
sum = 14​

Answers

Answered by varunragi916
0

Answer:

but the n=7859

highest digit + lowest digit

[sum]HD{9}+[sum]LD{5}

TOT=14

Explanation:

hit thanks

follow me

Similar questions