Question: Use MATLAB no screenshots please and use pseudecode 14. Prime number. Prompt the user to input a number n. Then, determine if n is a
Use MATLAB
no screenshots please
and use pseudecode

14. Prime number. Prompt the user to input a number n. Then, determine if n is a prime number using a while loop. Ifn is not a prime number, show the divisors of n. For example, ifnis 20, the output should be 20 is not a prime number. 20 can be divided by: 2 4 5 10. If n is 19, the output should be 19 is a prime number. You may not use built in functions for prime numbers, such as isprime(). You can use other functions, such as rem() or mod()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
