Introduction
In this challenge, you are tasked with creating a pricing calculation function for an online shopping platform. The goal is to develop a program that calculates discounted prices based on the original price and discount percentage.
The challenge requires you to implement a calculateDiscountedPrice
function that takes the original price and discount percentage as input, calculates the final discounted price, and prints the original price, discount percentage, and discounted price.