Welcome Message
Part of the Fundamentals section of Coddy's Ruby journey — lesson 34 of 88.
Challenge
EasyIn this chapter, you'll build a Bill Split Calculator that helps divide restaurant bills among friends.
Display a welcome message for the calculator using puts. The output should be exactly:
Welcome to the Bill Split Calculator!
Let's split your bill fairly.Make sure each line appears on its own line using the newline character \n.
Try it yourself
# TODO: Write your code below
# Use puts to display the welcome message
# Remember to use \n for new linesAll lessons in Fundamentals
4Operators Part 2
Logical Operators Part 1Logical Operators Part 2Recap - Simple LogicLogical Operators Part 3Logical Operators Part 47Bill Split Calculator
Welcome MessageGetting User Input2Variables and Data Types
Numbers and VariablesString Data TypeBoolean Data TypeSymbol Data TypeChecking Data TypesNaming ConventionsRecap - Variable Creation8Loops
For Loop with RangesWhile LoopBreakNextRecap - FactorialTimes LoopUntil LoopNested LoopsRecap - Dynamic Input3Operators Part 1
Arithmetic OperatorsModulo OperatorArithmetic ShortcutsRecap - Simple MathComparison Operators6Basic IO
Output with putsOutput with print and pOutput With VariablesInput with getsChomp MethodType ConversionRecap - Age CalculatorRecap - True or False