Ask Question
29 September, 18:43

a student writes a prgroma to find the factorial of a number. the factorial for a number n is defined as the product of all whole numbers between 1 and n, inclusive. while attempting to find the factorial for 120, the program's output is not what the student expectec. assuming that the program has been corectly written, what is a possible explanation for the incorrect output?

+5
Answers (1)
  1. 29 September, 21:55
    0
    B. Integers may be constrained in the maximum and minimum values that can be represented in a program because of storage limitations.

    Explanation:

    Since the program has been written correctly by the student and yet the output of the program is not what was expected, then the next possibility is that because of the limitations in storage, the integers may be constrained in the minimum and maximum values capable of being represented when writing a program.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “a student writes a prgroma to find the factorial of a number. the factorial for a number n is defined as the product of all whole numbers ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers