Applying Discounts – Only 1 Volume Slab
Applying discounts on price based on only 1 quantity or volume of purchase based slab.
Learning Objectives
- Learning to handle one slab of discount with a simple if-else.
- Learning multiple statements in both if and else conditions, thus using the scope { } braces properly.
- Learning to give instructions at the right place, inside or outside of the selection construct.