Sum of all prime numbers from 1 to 100 in java July 8, 2019 16 32 64 128 Sum of n natural numbers in java Prime number program in java 1 to 100