Question: Write a simple R program in an R - script file that will:Ask the user for several integers and read them into a vector.Check each

Write a simple R program in an R-script file that will:Ask the user for several integers and read them into a vector.Check each integer to determine if it is between 0 and 100 and if it is then print its square to the screen. If it is not in that range, then skip the integer.Print out the result to console about each integer - you get to decide what the output should look like.Run your script file in RStudio and take a screenshot of ONLY the console pane.Make sure to put your name in the script file. Zip the script file and the screenshot of the console pane into a file named "Lab1b.zip". Upload only the zip file to this submission.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!