A shopkeeper bought 100 eggs for #800 out of the lot. 20 were cracked ,he sold the cracked eggs at #12 each and the rest at #20 each

1. What was the total selling price
2. Calculate the profit or loss
3. Calculate the profit or loss percent

#1. s = 20*12 + 80*20 = ____

#2. s - 800
#3. (s-800)/s * 100%

To solve this problem, we need to follow these steps:

Step 1: Find the number of non-cracked eggs.
Step 2: Calculate the selling price of the cracked eggs.
Step 3: Calculate the selling price of the non-cracked eggs.
Step 4: Calculate the total selling price.
Step 5: Calculate the profit or loss.
Step 6: Calculate the profit or loss percent.

Let's calculate these step-by-step:

Step 1: Number of non-cracked eggs
The shopkeeper bought 100 eggs, and 20 of them were cracked. So, the number of non-cracked eggs is 100 - 20 = 80.

Step 2: Selling price of cracked eggs
The shopkeeper sold the cracked eggs at #12 each, and there were 20 cracked eggs. So, the selling price of the cracked eggs is 12 * 20 = #240.

Step 3: Selling price of non-cracked eggs
The shopkeeper sold the non-cracked eggs at #20 each, and there were 80 non-cracked eggs. So, the selling price of the non-cracked eggs is 20 * 80 = #1600.

Step 4: Total selling price
The total selling price is the sum of the selling price of the cracked and non-cracked eggs. So, the total selling price is #240 + #1600 = #1840.

Step 5: Profit or loss
The shopkeeper bought the eggs for #800 and sold them for #1840. So, the profit or loss is #1840 - #800 = #1040.

Step 6: Profit or loss percent
To calculate the profit or loss percent, we use the formula:
Profit or loss percent = (Profit or loss / Cost price) * 100

In this case, the cost price is #800, and the profit or loss is #1040. So, the profit or loss percent is:
Profit or loss percent = (1040 / 800) * 100 = 130%.

Therefore,
1. The total selling price is #1840.
2. The profit is #1040.
3. The profit or loss percent is 130%.

To solve this problem, we need to follow these steps:

Step 1: Calculate the cost price per egg.
The shopkeeper bought 100 eggs for #800, so the cost price per egg can be calculated by dividing the total cost by the number of eggs:
Cost price per egg = Total cost / Number of eggs = #800 / 100 = #8.

Step 2: Calculate the selling price of cracked eggs.
The shopkeeper sold the cracked eggs at #12 each, and there were 20 cracked eggs. Therefore, the selling price for cracked eggs is:
Selling price for cracked eggs = #12 x 20 = #240.

Step 3: Calculate the selling price for the rest of the eggs.
The remaining eggs that were not cracked are 100 - 20 = 80 eggs. The shopkeeper sold these at #20 each.
Selling price for the rest of the eggs = #20 x 80 = #1600.

Step 4: Calculate the total selling price.
The total selling price is the sum of the selling price of cracked eggs and the selling price for the rest of the eggs:
Total selling price = Selling price for cracked eggs + Selling price for the rest of the eggs = #240 + #1600 = #1840.

Step 5: Calculate the profit or loss.
To calculate the profit or loss, we need to subtract the cost price from the total selling price:
Profit or loss = Total selling price - Cost price = #1840 - #800 = #1040.

Step 6: Calculate the profit or loss percent.
To calculate the profit or loss percentage, we need to find the ratio of the profit or loss to the cost price, and then multiply by 100:
Profit or loss percent = (Profit or loss / Cost price) x 100 = (#1040 / #800) x 100 = 130%.

Therefore, the answers are:
1. The total selling price is #1840.
2. The profit is #1040.
3. The profit percentage is 130%.