java programs for printing from 1 to 100

*/ prime number is a number which is divisible by 1 and itself, example 2,3.for printing prime number from 1 to 3 we need to devide 1 by 1 ,2 by 1 and 2 both and 3 by 1,2,and 3.Remember 1 is not considered as prime number.so we will start from 2 so 2 is divisible by 1...