- Write a program to check whether a number is prime or not?
- Write a program to input two number and check whether its is twin prime number or not?
Explanation :
A number said to be twin prime if given number gap is 2 and it is prime number
-
Explanation : Two Number said to be twisted twin prime number if gap between given number is 2 and Prime, Reverse primeEx : 11-13
- Write a program to calculate Armstrong number?A number said to Armstrong if sum each with is same as given number153 =1*1*1+5*5*5*+3*3*3=153
- Write a program to check whether a number is palindrome?A number said to palindrome if reverse of each digit is same as input numbere.g. 17371=17371
- Write a program to check whether a number is Magic number or not ?
- Write a program to check Strong number?
- Write a C Program using function to print equivalent binary number of decimal number input by keyboard?
- Write a C Program to print and count all numbers between 1 to 100 divisible by 11.
- Write a program to print all prime numbers from 1 to 100. Use nested loops, break or continue statement wherever necessary.
- Write a program to find the sum of the digits of a number.
Back to programming Home
No comments:
Post a Comment