I need the flowchart and the pseudocode please. Foe the Pseudocode format it nee
ID: 441722 • Letter: I
Question
I need the flowchart and the pseudocode please. Foe the Pseudocode format it needs to be in the format listed below format In mathematics, the notation n! represents the factorial of the nonnegative integer n. the factorial of n is the product of all the nonnegative integers from 1 up through n. For example: 7! = 1 X 2 X 3 X 4 X 5X 6 X 7 = 5.040 And 4! = 1 X 2 X 3 X 4 X = 24 Design a program that asks the user to enter a nonnegative integer and then display the factorial of that number. //Declare global variables Declare Real gv_price = 99.0 //Main module Module Main() //Declare local variables Declare Real lv_quantity Declare Real lv_discountRate Declare Real lv_discountAmt Declare Real lv_totalCost Declare Real lv_cost Call getQuantity(lv_quantity) Call calcCost(lv_quantity, lv_cost) Call calcDiscountRate(lv_quantity, lv_discountRate) Call calcDiscountAmt(lv_discountRate, lv_cost, lv_discountAmt) Call calcTotalCost(lv_discountAmt, lv_cost, lv_totalCost) Call displayDiscount(lv_quantity, lv_cost, lv_discountRate, lv_discountAmt, lv_totalCost) End Module //Get quantity of packages sold from user Module getQuantity(Integer p_quantity) Display("Please enter the number of packages purchased:") Input(p_quantity) End Module ...ectExplanation / Answer
Please rate with 5 stars :) here is a flowchart for the computation of factorial :) http://www.rff.com/n_factorial_flowchart.htm
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.