Write a program to input a number & find out whether the sum of the digits in the number is a prime number or not. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a program to input a number & find out whether the sum of the digits in the number is a prime number or not.

this has to be done in Java, using While Loop. anyone there to help me?

30th Sep 2017, 5:39 PM
Aaron Stone
Aaron Stone - avatar
0 Answers