Community Profile

photo

Giancarlo milon


Last seen: mer än 2 år ago Active since 2021

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
next prime number using While loops
You just want the next prime so you can just do function k = next_prime(n) k = n + 1 % now k = input + 1 while isprime(k) =...

nästan 3 år ago | 2