diff --git a/examples/Tip_Calculator/index.html b/examples/Tip_Calculator/index.html index 4e9f27ee..470f8289 100644 --- a/examples/Tip_Calculator/index.html +++ b/examples/Tip_Calculator/index.html @@ -30,7 +30,16 @@
Total: ₹0.00
Each Pays: ₹0.00
+ +
+function calculateTip(bill, percentage) {
+ return (bill * percentage) / 100;
+}
+
+