A shopkeeper sells an article for ₹10000. If the rate of GST is 10%, calculate and display the tax and amount paid by the customer in JAVA.
Answers
Answered by
22
Answer:
public class Display
{
public static void main(String args[ ])
{
int p=10000;
double tax=0.0,amt=0.0;
tax=10.0/100.0*p;
amt=p-tax;
System.out.println("The tax paid by customer="+tax);
System.out.println("The amount paid by customer="+amt);
}
}
Answered by
3
Answer:
your answer is given above
Attachments:



Similar questions
Science,
2 months ago
Social Sciences,
2 months ago
Math,
2 months ago
English,
4 months ago
English,
4 months ago
English,
10 months ago
Political Science,
10 months ago