Search⌘ K
AI Features

Solution: Make a Routine

Understand how to define and use routines in Ruby to accept parameters and print output. Explore the implementation and flow of a display routine while practicing input handling and function calls.

Flowchart of a possible solution

You were required to create a routine that takes some input as parameters and prints them. Below is the flowchart of one of the possible solutions:

...