PHP - While loop Lab
1.Write a program to find length of given number.
2.Write a program to convert decimal to binary.
3.Write a program to count the number of occurrence of digit in a number.
4.Write a program to find the sum of digit of a given number.
5. Write a program to reverse a given number.
6. Check the number is palindrome or not.
7. Write a program using while loop to calculate and print the first ‘N’ Ex=10 Fibonacci number starts with (1,1),2, 3,5,8,13,21,34,55
8. Write a Program to calculate factorial of a given number.
9. Find the sum of cosine series up to given accuracy.
10. Write a program to generate all 3 digit Armstrong numbers.
11. Write a program to sum the series
1!+2!+3!+---------+N!.
12. Write a program to find the sum of N numbers.
13. Generate a fibonnaci series upto N and count the numbers.
14. Write a program to generate fibonncci series upto given limit and count the number of prime number in the series and find the sum of prime number in the series.
15. Menu driven program
2.Write a program to convert decimal to binary.
3.Write a program to count the number of occurrence of digit in a number.
4.Write a program to find the sum of digit of a given number.
5. Write a program to reverse a given number.
6. Check the number is palindrome or not.
7. Write a program using while loop to calculate and print the first ‘N’ Ex=10 Fibonacci number starts with (1,1),2, 3,5,8,13,21,34,55
8. Write a Program to calculate factorial of a given number.
9. Find the sum of cosine series up to given accuracy.
10. Write a program to generate all 3 digit Armstrong numbers.
11. Write a program to sum the series
1!+2!+3!+---------+N!.
12. Write a program to find the sum of N numbers.
13. Generate a fibonnaci series upto N and count the numbers.
14. Write a program to generate fibonncci series upto given limit and count the number of prime number in the series and find the sum of prime number in the series.
15. Menu driven program
- Reverse number.
- Sum of all digit.
- Number of digit.
- Product of all digit.
- Big digit.
- Smallest digit.
0 comments:
Post a Comment