HotelInfantesAgres - Bawat tanong, may sagot. Logo

In Computer Science / Senior High School | 2025-08-05

1. Start:

[Rounded rectangle: Start]

2. Input Item Price:

[Parallelogram: Input Item Price (Price)]

3. Calculate State Tax:

[Rectangle: State Tax = 0.04 * Price]

4. Calculate City Tax:

[Rectangle: City Tax = 0.015 * Price]

5. Check for Luxury Item:

[Diamond: Is Price > 50000?]

6a. Luxury Item (Yes Branch):

[Rectangle: Luxury Tax = 0.10 * Price] → [Rectangle: Total Tax = State Tax + City Tax + Luxury Tax] → [Rectangle: Final Price = Price + Total Tax]

6b. Non-Luxury Item (No Branch):

[Rectangle: Luxury Tax = 0] → [Rectangle: Total Tax = State Tax + City Tax + Luxury Tax] → [Rectangle: Final Price = Price + Total Tax]

7. Output Result:

[Parallelogram: Output Final Price]

8. End:

[Rounded rectangle: End]

Asked by hensmaccesar

Answer (1)

ffgdftdsf

Answered by zyjean1 | 2025-08-05