Computer Science, asked by souravkheto25, 4 days ago

write a javascript program check a number prime or not​

Answers

Answered by ChweetLove
2

Answer:

  • The condition number % i == 0 checks if the number is divisible by numbers other than 1 and itself.
  • If the remainder value is evaluated to 0, that number is not a prime number.
  • The isPrime variable is used to store a boolean value: either true or false.

Kindly Mark As Brainliest ^_^

 \huge \pink{~} \red {τ} \green {α} \blue {v} \orange {v}  \pink {u} \red {♡}

Answered by shamkuwarrahul18
1

Answer:

hello

Explanation:

hope l am help you!

Attachments:
Similar questions