PHP Interview Programs | Part 2

Problem 6: Write a program to print Fibonacci series.

Problem 7: Write a program to find HCF of two numbers.

Problem 8: Program to find whether a year is LEAP year or not.

Problem 9:  Program to print the below format
* * * * * * * * * * * * * * *
* * * * * * * * * * * * *
* * * * * * * * * * *
* * * * * * * * *
* * * * * * *
* * * * *
* * *
*

Problem 10: Program to print below format.
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7
1 2 3 4 5 6
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

<<Previous  | Next >>