Question: Write R code that asks you to input a positive integer n and then computes n ! and writes it back out to the screen.
Write R code that asks you to input a positive integer n and then computes n and writes it back out to the screen. You may not use the builtin function factorial Use goodprogramming style. Run it a couple Gmes and include your console runs as comments inyour R script file in your handin Use an R script file and hand in the R script.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
