Community Profile

photo

Ravindra Pawar


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Function to find the next prime number...
function k = next_prime(n) %function definition while ~isprime(n+1) %if n+1 is prime we are out of for loop else loop rest...

3 years ago | 0

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago