Sam started a new business with an investment of Rs.1, 00,000. During the first year the he got a profit of x%, whereas in the second year he lost a certain amount(say Rs. Y). Help him to find out the profit/loss (in terms of initial investment) in percentage at the end of the second year.
Answers
Answer:
The loss% at the end of second year is
Step-by-step explanation:
Given as :
The initial investment amount = Rs 1,00,000
The profit percentage in first year = x %
So, Amount in first year = investment amount + x% of investment amount
Or, Amount after first year = Rs 1,00,000 + × Rs 1,00,000
∴ Amount after first year = Rs 1,00,000 + Rs 1000 x
i.e Amount after first year = Rs ( 1,00,000 + 1000 x )
Again
In second year, The loss amount = Rs y
So, loss % after second year = × 100
Or, loss % =
Hence, The loss% at the end of second year is Answer
Answer:
Find Profit or Loss Program in Java
Sam started a new business with an investment of Rs.1, 00,000. During the first year the he got a profit of x%, whereas in the second year he lost a certain amount(say Rs. Y). Help him to find out the profit/loss (in terms of initial investment) in percentage at the end of the second year.
Sample input 1:
Enter the profit percentage
20
Enter the amount lost in Rs.
50000
Sample output 1:
After two years he gets a loss of 30%.
Explanation :
investment = 100000
profit = 20% of 100000 = 20000
Loss=50000
If loss > profit, there is a loss
If loss < profit, there is a profit
If loss = profit, no gain no loss
Here loss > profit So loss
To calculate loss% -
loss amount = loss - profit = 30000
Loss % =( loss amount / investment) * 100
That is 30000 * 100 / 100000 = 30%
Sample input 2:
Enter the profit percentage
20
Enter the amount lost in Rs.
20000
Sample output 2:
After two years he gets no loss or no gain.
Step-by-step explanation: