Community Profile

photo

Aramis


Last seen: alrededor de 2 meses hace Con actividad desde 2024

Followers: 0   Following: 0

Estadísticas

  • First Answer

Ver insignias

Feeds

Ver por

Respondida
next prime number using While loops
THE BEST ANSWER function k = next_prime(n) k=n; while isprime(k)==false || k==n k = k+1; end end ...

3 meses hace | 0

Respondida
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
The best answer function valid = valid_date(year,month,day) if not(isscalar(year))|| not(isscalar(month)) || not(isscalar(...

3 meses hace | 1