How do you find greatest factor of a number which is a factorial number in c language?

1 answer

Answer

1068832

2026-08-09 08:10

+ Follow

#include<stdio.h> #include<conio.h> main() { int f=1,i=1,n; clrscr(); printf("\n Enter factorial value"); scanf("%d",&n); for(;i<=n;i++) { f=f*i; } printf("\n The factorial value=%d",f); getch(); }

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.