I'm supposed to create a factorial application that prompts the user for a number and then displays its factorial. The factorial of a number is the product of all of the positive integers from 1 to the numbers. FOr example, 5! = 5*4*3*2*1

Recommended Answers

All 5 Replies

In what way can we help you :)

can you guys just tell me what to do cuz i have no clue how to start

Does the application involve a GUI?

No this is just about integers

then it's simple just use a loop that multiplies the given number after it has deducted itself by 1

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.