Menu
Coddy logo textTech

Welcome Message

Part of the Fundamentals section of Coddy's JavaScript journey — lesson 34 of 77.

challenge icon

Challenge

Beginner

Did you know that splitting a bill with friends can be super easy with a little bit of JavaScript? In this project, you'll create a simple program that calculates how much each person needs to pay, including the tip.

You are given the inputs this program needs: billAmount, tipPercentage and numPeople

Every good program starts with a welcome message, output to the screen the following string:

Bill Split Calculator

Try it yourself

let billAmount = parseFloat(inp[0]); // Don't change this line
let tipPercentage = parseFloat(inp[1]); // Don't change this line
let numPeople = parseInt(inp[2]); // Don't change this line

// Type your code below

All lessons in Fundamentals