Computer Science, asked by varun1234pp, 3 months ago

1. Write a program to input a 2-digit number and print
the sum and product of the digits. in java​

Answers

Answered by sriramulualivelu5539
1

Answer:

int digitSum = digit1 + digit2; int digitProduct = digit1 * digit2; if ((digitSum + digitProduct) == orgNum) System. out. println("Special 2-digit number"); else System.

Similar questions