write a program in Java to accept a number from the user and calculate the product of its Prime digits
Answers
Answered by
1
Explanation:
first of all create a method for isprime to check a number is prime or not now in main method we accept a number and that the digit from last and check it is prime or not using isPrime method
Similar questions
Math,
3 months ago
Chemistry,
3 months ago
India Languages,
3 months ago
Science,
6 months ago
English,
6 months ago
Math,
10 months ago
Social Sciences,
10 months ago
English,
10 months ago