write a program in Java to input a number and print the sum of its digits
Answers
Answered by
2
Answer:
Input two numbers from user. Store it in some variable say num1 and num2 . Check if(num1 > num2) then print num1 is maximum. Check if(num2 > num1) then print num2 is maximum
Explanation:
I hope help you
plz mark as briliant
Answered by
18
I live in South Korea
bro that's why it's in 3:00 am in the morning
Similar questions