photo

shweta s


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Function to find the next prime number...
%to find the next prime no. function p = next_prime(n) if (isprime(n)) p=n+1; else while(~isprime(n)) n=n+1; ...

4 years ago | 0