Hi,
May I have some tips on how to write this program please.
Write a program in C that evaluates the factorials of the integers from 1-5. Print the results in tabular format. What difficulty may prevent you from calculating the factorial of 50?
Factorials of integers from 1-5
Started by Lesser_Intellect, Nov 23 2009 03:18 AM
2 replies to this topic
#1
Posted 23 November 2009 - 03:18 AM
|
|
|
#2
Posted 23 November 2009 - 03:23 AM
just loop the integers and write it's factorials for each one as a result of the multiplication, as a second loop.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 23 November 2009 - 08:13 AM
Also, 50! is a massively huge number (more than 100 digits long), so you're going to have a tough time storing it in an int.


Sign In
Create Account


Back to top









