Question: Write a program that displays 50 consecutive prime number starting at 2. Use MatLab. Please don't use For, just can use While loop, and, if,
Write a program that displays 50 consecutive prime number starting at 2.
Use MatLab. Please don't use For, just can use While loop, and, if, ifelse!!!!!! Here have a example about which function I can use to get prime number.

num = input ('enter number: ' ); num = int32 (num) ; 3 4 6- 7 8- 83 10- prime Flag = 1; 1 while ( i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
