Computer Science, asked by prasadrajkumar73, 7 months ago

The Grocery store “EASY DAY” has extended a sale where they permit each customer to buy any three
products in any quantity. The customers will be given a discount of 15% on the total bill amount. No GST on
vegetables but a GST amount of 12 % will be charged for all other items. So:
BILL AMOUNT= (price*quantity + GST)+ (price*quantity + GST)+ (price*quantity + GST) **
NET BILL = BILL AMOUNT-(0.15* BILL AMOUNT) **
Write/ draw
1. An algorithm
2. A flow chart
3. a program in Python to accept the name of a customer, cost of each product purchased(only 3
permitted), their quantity and find the bill amount to be paid using the marked formula

Answers

Answered by MrLegendSuraj
0

[tex]

\begin{tabular}{c | l}

Electromagnet & Bar magnet\\

\cline{1-2}

An electromagnet is a temporary magnet. It's magnetism is only for the duration of current passing through it. So, the magnetism of an electromagnet can be switched on or off as desired. & The bar magnet is a permanent magnet. \\

An electromagnet can produce very strong magnetic force. & A permanent magnet produces a comparatively weak force of attraction. \\

The strength of an electromagnet can be changed by changing the number of turns in it's coil or by changing the current passing through it. & The strength of a permanent magnet cannot be changed. \\

The polarity of an electromagnet can be changed by changing the direction of current in it's coil. & The (north-south) polarity of a permanent magnet is fixed and cannot be changed.

\end{tabular}

[/tex]

Similar questions