Menu
Coddy logo textTech

Calculating The Tip And Total

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

challenge icon

Challenge

Beginner

Calculate the total, including the tip, output the result in the end.

Check the hint for help!

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