Print all of the Prime numbers till given Natural number. sample input: 15 sample output: 2 3 5 7 11 13 sample input: 50 sample output: 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47
Example heading with h2 size
Example heading with h3 size
Following is sample java code.
int i = 10;
if(i>0){
System.out.println('positive');
}