Question: 1.) Write an R Program which iterates through the numbers 1 to 50. For multiples of two, print Beep instead of the number. For multiples

 1.) Write an R Program which iterates through the numbers 1

1.) Write an R Program which iterates through the numbers 1 to 50. For multiples of two, print "Beep" instead of the number. For multiples of three, print "Boop" instead of the number. For numbers which are multiples of both 2 and 3, print "BeepBoop" Sample output: 1 "Beep" "Boop" "Beep" 5 "BeepBoop" 2.) Write an R Program to print the following pattern in the console window: Sample output 3.) Write an R program that accepts a word from the user and reverses it. You may have to use the functions readline() or scan(), and substr() (10 pts) Input: reverse Sample output: The reverse of reverse is esrever.|

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!