Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write an R function to take input from the user (name and age). If the age is between 0 and 100, print the

 

1. Write an R function to take input from the user (name and age). If the age is between 0 and 100, print the name and age. Otherwise, print an error message The age is impossible!" 2. Call the function using the following name and age: "Mickey", 90 "Akasha", 6000 3. Click "Run" to execute the code and click "Mark" to submit it. If your result doesn't pass, revise the code based on the feedback, run and submit it again. 1 myfun

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Algorithms questions