A shopkeeper offers 10% discount on the printed price of a mobile phone.However a customer has to pay 9% GST on the remaining amount.Write a program in Java to calculate the amount to be paid by the customer taking printed price as an input.
Answers
Answered by
0
Answer:
Question 1
to accept an integral value 'p' through Stream Class
InputStreamReader read = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(read);
int p = Integer.parseInt(in.readLine());
____________________________
please follow me and add me to your brain list
Answered by
0
Explanation:
here's your answer
like my answer
and follow me
Attachments:
![](https://hi-static.z-dn.net/files/d0d/dff0508194671dd00c6d7663bdf988ab.jpg)
Similar questions