i want to write a program that will output all of the factorials up to a maximum number provided....if anyone can guide me, thanks...
k8lj
0
Newbie Poster
Recommended Answers
Jump to Postyoull need an outer loop which loops as high as the amount of factorials you want to compute, and an inner loop which will compute the factorial at the outer loops number.
pseudocode:
input n
set x = 1
loop n times
set num = 1
set y …
Jump to PostWell, first of all you need to know what a factorial is. You haven't demonstrated that you know anything on how to solve this problem yet. If you need a description on what a factorial is here's a link.
Jump to PostThat looks great. I'm glad I could help you. I just took a math assessment and I needed a little encouragment. lol. Don't hesitate to ask if you need help on anything else.
All 9 Replies
TylerSBreton
13
Junior Poster in Training
Godfear1
0
Unverified User
k8lj
0
Newbie Poster
Godfear1
0
Unverified User
sneekula
969
Nearly a Posting Maven
Yaseen Hejazi
0
Newbie Poster
Godfear1
0
Unverified User
iamthwee
iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.