Question

Find factorial of a number entered by user. 

27 Apr 2023
Answer :
Word Count : 304

To find the factorial of a number entered by the user, you can use the following algorithm:

  1. Read the number entered by the user and store it in a variable, let's say number.
  2. Initialize a variable factorial to 1. This variable will hold the factorial value.
  3. Use a loop to calculate the factorial. Start the loop from number and _____ _________ ___ __________ ____.
    ___ ___ _________ _______ __________ ____ _______ _________.
    ______ ________ ___ _____ ___ _______ __________ _______ _________ __________ ______.
    _______ ______ ______ _______ _____ _________ __________.
    ________ _______ _______ __________ _________ _____ _________ ________ ______.
    ____ __________ __________ _________ ________ ____ _______.
    _______ ________ ___ _________ _______ ______ _______ ______ ___.
    ____ ______ __________ ________ _____ ______ _______ ____.
    __________ ___ __________ ________ ___ __________ ________ _______ ___ ______ ______ _________.
    ______ __________ ______ _________ ____ __________ ___ ______ ________ _____.
    __________ ________ ________ _____ ______ _____ ___ ____.
    ________ _____ _________ __________ _______ _____ _______ _______ ______ _______ ______.
    _______ ____ _________ _______ ___ __________ __________ ____ ______ _____ ______ __________.
    ____ _________ ______ __________ ___ _____ _____ _________ ______ _________.
    _________ ________ ______ _____ _______ ________ __________.
    _____ _____ _____ ___ ________ _______ ____ ____ _____ _______.
    _________ ___ ______ _________ ____ ________ __________ ____ _________ ________ ______.
    ____ _______ ______ _______ ________ ____ __________ ___ __________ __________.
    _________ _________ _____ ___ ________ _____ ____ _______ ______ _________ ____ __________.
    ___ ________ _____ __________ ____ __________.
    ________ _____ _____ __________ ______ ___.
    _____ ________ _______ __________ ____ __________ ____ ________ ___ ______.
    _________ ______ _____ __________ ______ _________ ___ _____ _______ __________ ___ _________.
    _________ ____ _____ _____ _______ __________ _____ ______ __________ ________ _________.
    ____ __________ _____ _____ __________ ___ _________ ____ _________ ______ __________.
    _______ ____ _____ _______ _____ _________ __________ _____ ____ _______ ________.
    Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Find factorial of a number entered by user. 
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→