Ask 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 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?

+3
Answers (1)
  1. 23 October, 18:56
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers