i need to write a program which inputs an integer value, checks that it is possitive, and outputs its factorial,using formulas
factorial(0)=1
factorial(n)=n*factorial(n-1)
sample output:
input possitive number: 6
factoral of 6is: 720
i need to write a program which inputs an integer value, checks that it is possitive, and outputs its factorial,using formulas
factorial(0)=1
factorial(n)=n*factorial(n-1)
sample output:
input possitive number: 6
factoral of 6is: 720
i need to write a program which inputs an integer value, checks that it is possitive, and outputs its factorial,using formulas
factorial(0)=1
factorial(n)=n*factorial(n-1)
sample output:
input possitive number: 6
factoral of 6is: 720
What's the question?
Gotta read the forum rules bud... show some effort before people will help. Post us some code you've written for this project and we can point you in the right direction.
You only have to take the first step then in between if there is problem you can get solved here.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.