Read the price of a product and a category:
1 = student2 = senior3 = regularApply the corresponding discount:
1 → 30%2 → 20%3 → 0%Use nested if statements with conditions.
Two integers separated by a space:
Print the final price after the discount.
Input:
10000 1
Output:
7000