# IF Mini Project — PACE, Your First Real Decision System
# if / elif / else — a real decision engine

# ─────────────────────────────────────────────
# PACE Communications System
# ─────────────────────────────────────────────

signal_strength = int(input("Enter signal strength (0-100): "))

if signal_strength >= 75:
    print("PRIMARY active — radio communication.")
elif signal_strength >= 50:
    print("ALTERNATE active — satellite link.")
elif signal_strength >= 25:
    print("CONTINGENCY active — field messenger.")
else:
    print("EMERGENCY — runner dispatched.")

# ─────────────────────────────────────────────
# Test it
# ─────────────────────────────────────────────

# Enter: 80  →  PRIMARY active — radio communication.
# Enter: 55  →  ALTERNATE active — satellite link.
# Enter: 30  →  CONTINGENCY active — field messenger.
# Enter: 10  →  EMERGENCY — runner dispatched.

# ─────────────────────────────────────────────
# Go further
# ─────────────────────────────────────────────

# Enter 75 exactly — which protocol activates? Why?
# Change the thresholds — what happens if Primary starts at 80?
# Add the signal strength to the message:
# "ALTERNATE active — signal at 55."
