Write a program in Java(BlueJ) to calculate and print the final bill of a customer after adding 5% service tax to it. Assume that the bill before service tax added was Rs. 25,000.
Answers
Answered by
2
Answer:
class BillTax{
void main(){
int bill = 25000;// you can edit it anytime
double netamount = bill + (5.0/100.0)*bill ;
System.out.println("Total bill amount is = "+netamount);
}
}
Similar questions