New Live AST Parser

Input
Output

Comment

Please share your knowledge to improve code and content standard. Also submit your doubts, and test case. We improve by your feedback. We will try to resolve your query as soon as possible.

New Comment







Ashique     170 Day ago
want to build two functions for discounting products on 
a website. Function number 1 is for student discount which discounts 
the current price to 10%. Function number 2 is for additional discount 
for regular buyers which discounts an additional 5% on the current 
student discounted price. Depending on the situation, we want to be 
able to apply both the discounts on the products. Design the above 
two mentioned functions and apply them both simultaneously on 
the price