C Programming Plus
www.cprogrammingplus.com
Pages
Home
Input Output
Operator
Math.h
If, If....else
Conditional Operator
Switch
Series
Pyramid
Loop
One Dimensional Array
Multi Dimensional Array
String.h
String
File Read
File Write
File Read and Write
Structure
Function
Recursive Function
Pointer
Miscellaneous program
ASCII Character Codes
PDF Books
Loop
9.1. Write a program that read a positive integer and display its factorial.
9.2. Write a program that read any positive integer and display sum of its digit.
9.3. Write a program that read any positive integer and display reverse.
9.4. Write a program that read any decimal number and display equivalent binary number.
9.5. Write a program that read any decimal number and display equivalent octal number.
9.6. Write a program that read any decimal number and display equivalent hexadecimal number.
9.7. Write a program that read two numbers and display GCD(greatest common divisor).
9.8. Write a program that read two numbers and display LCM(least common multiple).
9.9 Write a program that read two numbers(x,y) and display x'(x to the power y).
9.10. Write a program that read two numbers (n,r) and display nPr(Permutation).
9.11. Write a program that read two numbers(n,r) and display nPr(Permutation).
9.12. Write a program that read two numbers(n,r) and display nPr(Permutation).
9.13. Write a program that read two numbers(n,r) and display nCr(Combination).
9.14. Write a program that read two numbers(n,r) and display nCr(Combination).
9.15. Write a program that read two numbers in,r) and display nCr(Combination).
9.16. Write a program that read two numbers(n,r) and display nCr(Combination).
9.17. Write a program that read any integer and its digital root.
9.18. Write a program that read any integer and test prime or not prime.
9.19. Write a program that read any integer and test prime.
9.20. Write a program that read any integer and test prime or not prime.
9.21. Write a program that read any integer and test prime any test prime or not prime .
9.22. Write a program that read any integer and test prime or not prime.
9.23. Write a program that read any integer and test prime or not prime.
9.24. Write a program that print all prime numbers from 1 to n.
9.25. Write a program that print all prime numbers from m to n(m>n).
9.26. Write a program that count total prime numbers from 1 to n.
9.27. Write a program that displays first n prime numbers.
9.28. Write a program that print first n Fibonacci numbers.
9.29. Write a program that prints all Fibonacci numbers from 1 to n.
9.30. Write a program that a number Fibonacci or not Fibonacci.
No comments:
Post a Comment
Home
Subscribe to:
Posts (Atom)
No comments:
Post a Comment