Computer Science, asked by vandna1194, 9 hours ago

. write a program in java to display what rahul has to pay as a bil rahul and his family go to KFC for dinner and order the following - 4 buckets of chicken popcorn priced at rs 600 and 4 cold drinks priced at rs 50 each . GST to be paid is 10% of the total bill .

Answers

Answered by Ronithreddy
0

Answer:

public class bill

{

   public static void main(String args[])

   {

       int popcornprice=600;

       int colddrinkprice=50*4;

       double amount_paid= colddrinkprice+popcornprice;

       Double bill=(600+50*4)*0.1;

       System.out.println("BILL="+bill);

   }

}

Similar questions