Computer Science, asked by mayesh, 1 year ago

write code to obtain fee amount and then calculate fee hike as 10 %of fees ​

Answers

Answered by tkaur1
1
How do we calculate this percentage increase or decrease? We begin by first calculating the first total and then comparing it to the second total. For example, if we are analyzing the change in sales from one year to the next, our first total will be the sales of the one year, and our second total will be the sales of the next year. We then determine if there is an increase or decrease happening. For example, we have an increase if the second total is greater than the first and we have a decrease if the second total is lower than the first.

Once we have determined whether the change is an increase or decrease, we then calculate how much the change is by subtracting the lesser from the greater. We then divide it by the first total. To find the percentage, we then multiply by 100.

We can write a simple formula for the percentage increase or decrease. We can say that the percentage increase or decrease is (the increase or decrease) / (first total) * 100.

No matter what problem we are given, as long as we are able to find the first total and the amount of increase or decrease, then we can calculate the percentage increase or decrease.

Similar questions