Class Test 6
Class Test 6
1. Input unit and price from the user and find out total amount. 2
2. Input unit and price from the user and find total amount as- 2
if unit discount
>20 20% of total amount
>10 10% of total amount
else no discount
3. Input a number from the user. Check if the number is odd print its double and if the number is even