1.

While purchasing certain items, a discount of 10% is offered if the quantity purchased is more than 1000. If the quantity and price per item are input, write a program to calculate the total expenses.Input FormatThe first line contains an integer T, total number of test cases. Then follow T lines, each line contains integers quantity and price.Constraints1 тЙд T тЙд 10001 тЙд quantity,price тЙд 100000Output FormatOutput the total expenses while purchasing items.Sample Input 03 100 12010 201200 20Sample Output 012000.000000200.00000021600.000000

Answer»

Answer:

\pink {A}\orange {N}\blue {S}\green {W}\purple {E}\red {R}⤵

Photosynthesis is a process used by PLANTS and other ORGANISMS to convert light energy into chemical energy that, through cellular respiration, can later be RELEASED to fuel the ORGANISM's METABOLIC activities.



Discussion

No Comment Found