Computer Science
Write the pseudocode to print the bill depending upon the price and quantity of an item. Also, print Bill GST, which is the bill after adding 5% tax in the total bill.
Algo & Flowcharts
1 Like
Answer
Step 1: INPUT price
Step 2: INPUT quantity
Step 3: COMPUTE total_bill = price * quantity
Step 4: COMPUTE gst_amount = total_bill * 0.05
Step 5: COMPUTE bill_with_gst = total_bill + gst_amount
Step 6: PRINT "Total Bill: ₹" + total_bill
Step 7: PRINT "Bill with GST: ₹" + bill_with_gst
Answered By
1 Like