Example
Calculating total tax for a list of 5 billing amount
Input
input1: 5
input2: 1000 2000 3000 4000 5000
Output
1000
Explanation
The first parameter (5) is the size of the array. Next is an array of billing
amounts. For the first amount, there will be o tax and for the next amount,
it will be 10% of (2000-1000)=100 and so on. The sum of all the tax
amounts will be (0+100+200+300+400=1000)
POWERED UT
metti
sowmya | Support
Answers
Answered by
0
Answer:
aap ek bar pura question pix dijiye
Similar questions
Math,
1 month ago
Business Studies,
1 month ago
Political Science,
3 months ago
History,
3 months ago
Science,
10 months ago
Math,
10 months ago