read the cost of a meal at a restaurant. if a 10% service charge were added to the bill, write an algorithm to calculate and return the total amount on the bill

To calculate the total amount on the bill after adding a 10% service charge, the algorithm would look like this:

1. Start
2. Read the cost of the meal (let's assume the cost is stored in a variable called 'meal_cost')
3. Calculate the service charge by multiplying the meal cost by 0.1 (10% is equivalent to 0.1)
- service_charge = meal_cost * 0.1
4. Calculate the total amount on the bill by adding the meal cost and the service charge
- total_amount = meal_cost + service_charge
5. Return the total amount on the bill
6. End

The algorithm can be implemented using any programming language by assigning appropriate variable types and printing or returning the total amount calculated in step 4.

To calculate the total amount on the bill after adding a 10% service charge, you can follow this algorithm:

1. Read the cost of the meal from the user.
2. Calculate the service charge by multiplying the cost of the meal by 0.1 (10% is equivalent to 0.1).
3. Calculate the total amount on the bill by adding the cost of the meal and the service charge.
4. Return the total amount on the bill.

Here's an example algorithm written in pseudocode:

```
function calculateTotalBill(costOfMeal):
serviceCharge = costOfMeal * 0.1
totalAmount = costOfMeal + serviceCharge
return totalAmount

costOfMeal = readInputFromUser() // Assuming you have a function to read input from the user.
totalBill = calculateTotalBill(costOfMeal)
print("Total amount on the bill: ", totalBill)
```

In this algorithm, the `calculateTotalBill()` function takes the cost of the meal as an argument and calculates the service charge by multiplying the cost by 0.1. It then adds the service charge to the cost of the meal to get the total amount on the bill. Finally, the calculated total amount is returned and printed for the user.