Menu
Coddy logo textTech

Project Overview

Part of the Fundamentals section of Coddy's Ruby journey. Lesson 79 of 88.

challenge icon

Challenge

Easy

Print the menu for the Daily Expense Tracker. The menu should display a title and five numbered options, each on its own line.

The output should be exactly:

--- Expense Tracker ---
1. Add Expense
2. View Expenses
3. Total & Average
4. Clear All
5. Exit

Use puts to print each line of the menu.

Try it yourself

# TODO: Write your code below
# Use puts to print each line of the menu

All lessons in Fundamentals

Practice on your own: Online Ruby compiler