SITJAR, John Oliver S.
CS10-8: Assignment 3
BMCE-2/ 2022103009
CODE:
OUTPUT:
1. Create a Matlab program that would input a number and output if the number entered is
PRIME or NOT PRIME. A prime number is a number with a factor of one and only itself.
Examples of Prime Numbers are: 2, 3, 5, 7, 11, 19, 23, etc.
2. Create a Matlab program that will ask the user the size of the multiplication table and
display it corresponding output on screen.
3. Create a Matlab program that prompts the user to enter a number then display its
Fibonacci series.
4. Create a Matlab program that prompt the user to enter a number and compute for the
factorial value.