C Program to print the Factors of the number| Factors program in C|E-studyblog
- C Program to swap two number with using third variable
- C Program to find the factorial of the number
- C Program to check whether the number is Palindrome or not
- C Program to swap two number without using Third variable
- C Program to display Fibonacci in c using for loop
- C Program using Switch case to enter a digit (0-9) and write in word
![]() |
| C Program to print the Factors of the number| Factors program in C|E-studyblog |
Factors program in C|
#include<stdio.h> void main(){ int n,i; printf("Enter an integer:"); scanf("%d",&n); printf("Factor of the number are:",n); for(i=1;i<=n;++i) { if(n%i==0) printf("%d ",i); } }
Output|
I hope you have read our Article " C Program to print the Factors of the number"and you have collected lots of information from there.If you like the post,then please comment and share among your friends and family. you can write your opinion about my post in the comment box.
Thank you!














