Q : Write a program to print all the Krishnamurti number from 1 to n. Here, n is user dependent. A Krishnamurti number is a number whose sum of factorial of individual digits equals the number. For example, 145 = 1! + 4! + 5! = 1 + 24+ 120 = 145.
Answer :
#include<stdio.h>
#include<conio.h>
/*============================
Girfa Student Help
Krishnamurti number
==============================*/
int fact(int);
void main()
{