Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using R Studio - Q(1) Write a function called CheckOddEven that will take in four numbers (e.g., 2,3,5,9). The function should display whether the number
Using R Studio - Q(1) Write a function called CheckOddEven that will take in four numbers (e.g., 2,3,5,9). The function should display whether the number is odd or even. Sample Output: 2 is even 3 is odd 5 is odd 9 is odd Q(2) Write the same function that you wrote in (1) above, call it CheckOddEvenList, but this time write it such that it accepts a list of numbers.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started