Question: Using C++ and Microsoft Visual Studio Task 1: Working with while loops Exercise 1. The factorial of n, denoted n!, is defined as: n! 1*2*3*....*n
Task 1: Working with while loops Exercise 1. The factorial of n, denoted n!, is defined as: n! 1*2*3*....*n for n>1 So 4!-1*2*3*4 24 and 6!1*2*3*4*5*6 720 Write an algorithm (pseudocode) to do the following: prompt user to input an integer number n ( >-o). calculate the factorial of the number entered output the result to standard output device . Exercise 2.Create a flowchart for your algorithm using Raptor and verify it for the example cases listed above. Exercise 3. Modify your flowchart of Exercise 2 to valid the input using a loop that repeatedly prompts the user to enter a valid input (Ge. a aumber greater or equal to o. Write a C++ program for the flowchart of Exercise 3.- Demo your program to your instructor. Copy and paste your flowchart below for submission to the EOL dropbox upon completion of your lab
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
