Computer Science, asked by dhruvrajput68, 9 months ago

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% of tax in the total bill.

class 11

Answers

Answered by isyllus
9

Answer:

calculateBillAndGSTBill()

{

declare variable bill and GSTBill with zero

declare the price of each item

input the quantity of item to be bought from the user

Total Bill = Quantity * price

GST Bill = Total Bill + 0.05 of Total Bill

print the value of count

}

Explanation:

A pseudo code is a blueprint of the actual code written in the simple plain English. It is not written in any Programming Language.

Above is the pseudo code for printing the bill depending upon the price and quantity of an item.

First of all, we get the input of number of quantities to be bought from the user.

Then multiply this quantity number with the price of each item to get the total bill.

To calculate the GST on the total bill, multiply the total bill with 0.05 and add it to total bill to get the GST bill.

Finally, print the total bill and GST bill.

Answered by tkckalai
0

Explanation:

INPUT all Item

INPUT price for each Item

COMPUTE bill: =total Item * price for each Item

PRINT bill

COMPUTE tax: = bill * (5 / 100)

COMPUTE bill with gst:= bill + tax

PRINT bill with gst

Similar questions