Java Program to calculate discount of 5% for purchase above 5000

Description

Get price and quantity of a product, calculate bill amount and calculate 10% discount 
for the billamount 5000 and above.
Input:
10 400
Output:
4000

Input:
20 500
Output:
9500

Solution

Unable to open file!