Challenge: Make Separate Files for the Routine
Explore how to break down Ruby code by creating separate files for routines. Learn to write methods that accept parameters, organize your code effectively, and verify your program’s functionality through testing.
We'll cover the following...
We'll cover the following...
Problem statement
Write a small program that asks for a person’s first and last names, followed by their parents’ first and last names. Then write a routine in a separate file to print the collected data and test if your ...