Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
8 views3 pages

Sitjar As3

Uploaded by

Oliver Sitjar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Sitjar As3

Uploaded by

Oliver Sitjar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

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.

You might also like