as

SMACO

Write a C program to SMACO

1. Addition of two numbers
2. Subtraction of two numbers,
3. Multiplication of two numbers
4. Division of two numbers
5. Find MOD
6. GCD of two numbers
7. LCM of two numbers
8. Factorial of given number
9. Square & Cube of given number.
10. Fibonacci series

Write a PHP script to demonstrate Exception Handling.

Write a PHP script to demonstrate Exception Handling.   

1.  die( ) function
2.  Try  - Catch function