Ask Question
15 February, 22: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?

+2
Answers (1)
  1. 16 February, 01:28
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers