Home > Back-end >  Request a great god they've picked!
Request a great god they've picked!

Time:05-15

Write a judge prime function, but when the judge 9, the output is "is a prime number"

CodePudding user response:

Judge prime function, when a=9, a % 2!=0, return (I=2), the main function in the if (2==0) conditions, else the output is a prime number,
  • Related