Please answer my question..☠
no spam☠
Attachments:
Answers
Answered by
1
Java:
public class DigitProduct {
static int product(int number) {
return (number % 10) * ((number /= 10) % 10) ;
}
}
Python:
def product(number):
return (number % 10) * ((number // 10) % 10)
Similar questions
English,
2 months ago
English,
2 months ago
Social Sciences,
5 months ago
English,
5 months ago
English,
11 months ago