Question 34: If Elif Footbal

Football Team Goal Tracker (Easy English)

1. Team Captain Info

Ask:

  • “What is your team captain name?”
    → Save as captain_name

  • “How many goals did your team start with this season?”
    → Save as goals_start


2. Goals Scored in Matches

Ask:

  • “How many goals did your team score in Match 1?”
    match1_goals

  • “How many goals did your team score in Match 2?”
    match2_goals

  • “How many goals did your team score in Match 3?”
    match3_goals

  • “How many goals did your team score in Match 4?”
    match4_goals


3. Goals the Other Teams Scored on You

Ask:

  • “How many goals did the other teams score in Match 1?”
    match1_against

  • “How many goals did the other teams score in Match 2?”
    match2_against

  • “How many goals did the other teams score in Match 3?”
    match3_against

  • “How many goals did the other teams score in Match 4?”
    match4_against


4. Do the Math
  • Total Goals Scored
    match1_goals + match2_goals + match3_goals + match4_goals

  • Total Goals Against
    match1_against + match2_against + match3_against + match4_against

  • Goal Difference
    total_scored – total_against

  • Season Total Goals
    goals_start + total_scored


5. Team Result Message

If goal_difference > 5:
➡️ “Amazing work, captain_name! Your team is scoring a lot more than others!”

If goal_difference is between 1 and 5:
➡️ “Good job, captain_name! Your team is doing well, keep trying!”

If goal_difference ≤ 0:
➡️ “Don’t give up, captain_name! Your team can still improve!”

 

Write what you are looking for, and press enter to begin your search!