You are on page 1of 2

MIDTERM

ADVANCE PROGRAMMING AND PHP


1. Check whether the number is odd or even -
PARADERO
2. Check whether a character is a vowel or consonant -
NOVAL
3. Find the largest among three numbers - TAMBONG
4. Find all the roots of a quadratic equation – SABANAL
5. Check whether the entered year is leap year or not -
MARIKIT
6. Check whether a number is positive or negative or
zero - BALVERDE
7. Check whether a character is an alphabet or not -
JUNTILLA
8. Find the sum of natural numbers - OPIANA
9. Find factorial of a number - SAPIO
10. Generate multiplication table - ESTAÑO
11. Display Fibonacci series - CAPISNON
12. Find HCF of two numbers - PARING
13. Find LCM of two numbers - LELIS
14. Count number of digits of an integer -
DECASTRO
15. Reverse a number - FLORES
16. Calculate the power of a number - VILIGANILAO
17. Check whether an integer is prime or not -
COTEJO
18. Display factors of a number - LOZANO
19. Print half pyramid using letters - PEREZ
20. Print half pyramid using numbers - PERALES

You might also like