for(let i=2;i<=50;i++){
for(let j=2;j<=i;j++){
let reminder = i%j;
if(i != j){
if(!reminder) break;
}
if(j==i){
console.log( i, ' is prime number')
}
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)