Urgent help
-
Can any body help me with C code to solve these two problems since i am not so familiar with C language..Thank you very much. 1.f(N) be the number of points with integer coordinates that are on a circle passing through (0,0), (N,0),(0,N), and (N,N). Figure out f(10000)=? Print out these points. 2.The number 145 is called a curious number,as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find all curious numbers blow 10000 which are equal to the sum of the factorial of their digits. Print out them.
-
Can any body help me with C code to solve these two problems since i am not so familiar with C language..Thank you very much. 1.f(N) be the number of points with integer coordinates that are on a circle passing through (0,0), (N,0),(0,N), and (N,N). Figure out f(10000)=? Print out these points. 2.The number 145 is called a curious number,as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find all curious numbers blow 10000 which are equal to the sum of the factorial of their digits. Print out them.
1. Nobody is going to do your homework for you. 2. Lack of planning on your part does not constitute urgency on our part. 3. Try to do it yourself, and when you get stuck ask a specific question and we'd be glad to help.
The difficult we do right away... ...the impossible takes slightly longer.