1. Write a C program that will take as input an integer, and calculate its factorial. Sample input 5 8 Sample output 120 40320
Added by Charles B.
Close
Step 1
h> ``` Show more…
Show all steps
Your feedback will help us improve your experience
Willis James and 57 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Write a recursive function for computing factorial of a number. Write main to test its functioning. C programing
Willis J.
6. Write a program to find factorial of a given number
Haricharan G.
(C-star) Develop and run a C* program to sum up integers from 1 to 100, and print out the sum value on the screen. Develop and run a program that prompts the user to enter a positive integer n, and then calculate the value of n factorial n! = multiplication of all integers between 1 and n, and print the value n! on the screen.
Supreeta N.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD