Added Template Test files

pull/1899/head
Amir Walker 2 weeks ago
parent 15d8884eef
commit 8df267e0bd

@ -35,4 +35,21 @@ function calculateTip(billAmount, tipPercentage = 15)
{
Tip = billAmount * (tipPercentage/100);
return Tip;
}
}
//Default test calls
sayHello();
introduceYourself("Sarah");
greetPerson("Alex");
greetPerson("Maria", "Hi");
const sum = addNumbers(5, 3);
console.log(`The sum is: ${sum}`);
const fullName = createFullName("John", "Doe");
console.log(`Full name: ${fullName}`);
const tip = calculateTip(50);
console.log(`Tip for $50 bill: $${tip}`);
Loading…
Cancel
Save