Community Profile

photo

Gaurav Pratap Garg


1 total contributions since 2019

Gaurav Pratap Garg's Badges

  • First Review
  • First Answer

View details...

Contributions in
View by

Answered
next prime number using While loops
function k = next_prime(n) k = n+1; while ~isprime(k) k = k+1; end end

5 meses ago | 0