Write a solution in a pseudocode to calculate the discount amount and total fees. This should include a decision logic structure and a while loop

10*10

pseudocode: Write a pseudocode to describe how to calculate the average of 10 numbers. Thank you

Average of 10 numbers = mean = ∑x/n

Sure! Here's a pseudocode solution that calculates the discount amount and total fees using a decision logic structure and a while loop:

```
SET discountPercentage = 0.1 // Assuming discount percentage is 10%
SET totalFees = 0

WHILE True DO
INPUT 'Enter the item fee or -1 to exit: ' as itemFee
IF itemFee == -1 THEN
BREAK // Exit the loop if -1 is entered as item fee
END IF

SET discountAmount = itemFee * discountPercentage
SET totalFees = totalFees + itemFee - discountAmount

OUTPUT 'Discount Amount: ' + discountAmount
OUTPUT 'Total Fees: ' + totalFees
END WHILE
```

In this pseudocode, we first set the discountPercentage to 0.1 (10%). Then, we initialize the totalFees variable to 0.

Inside the while loop, we ask the user to enter the item fee. If the user enters -1, the loop will be exited using the BREAK statement. Otherwise, the discountAmount is calculated by multiplying the itemFee with the discountPercentage. The totalFees is updated by subtracting the discountAmount from the itemFee and adding it to the previous totalFees.

Finally, we output the discountAmount and totalFees after each iteration.

Note: Pseudocode is not a specific programming language, but rather a way to express algorithms in a more human-readable format. The above pseudocode can be adapted to suit the programming language you are using.