Programs
i <- 12 k <- 0 for(j in 2:(i/2)){ if(i%%j==0){ print('It is not prime') k=1 break } } if(k==0){ print('It is prime') }2)