Question: factorial program in javascript using do while loop?
Answer: Create a variable to store your answer and initialize it to one., Create a loop that beings at the given value, fact., Check if fact is one or zero., multiply fact with your answer variable., At the end of the loop decrease fact., Print answer using console.log.