Field Manual for Hackers

https://www.hackonly.com

Ethical Hacking Training Online | LearnSkill.Today

Ethical Hacking Training Online | LearnSkill.Today

Search

Labels

Labs Java PHP Python Network Security Quiz Android AWS C++ Web Application Security Exploit Writing Linux C Language Kali Linux Commands django Shell Script :Labs Cheatsheet How to Install MySql OWASP Penetration Testing Post Exploitation fix Android Pentesting Capture the Flag Case Study Hack the box SEO Sniffing TCPDUMP Tools Wireshark

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

  1.   Reverse number.
  2. Sum of all digit.
  3. Number of digit.
  4. Product of all digit.
  5. Big digit.
  6. Smallest digit.
Do While
16. In above question Ask user "Do you want to continue".

Email ThisBlogThis!Share to TwitterShare to Facebook

  No Comments

Newer Post Older Post Home

0 comments:

Post a Comment

Ethical Hacking Training Online | LearnSkill.Today

Ethical Hacking Training Online | LearnSkill.Today

Translate

Follow by Email

Copyright © Field Manual for Hackers | Designed by V2Geeks

TOP