Question : Algorithm using pseudocode

Hi - I have been given this to work out but need some help, any help would be greatly appreciated :)

In 2014 FIFA would like to revise the way teams are allocated points for the world cup:
win-3
draw-1
lose-0
win with penalty shoot out-2
lose with penalty shoot out-1

Thus in a normal match the winning team gets 3 points with the losers getting zero.  If a match is won through a penalty shootout the winning team only get 2 points and the losers 1 point. Both teams get 1 point each for a draw.

This is what I have come up with so far:

DECLARE  Team1_Nam, Team1_Res, Team2_Nam, Team2 _Res
WIN = 3
DRAW = 1
LOSE = 0
WIN _WPS= 2
LOSE_WPS = 1
DISPLAY “Please enter the name of the first team.”
GET Team1_Nam
DISPLAY “Please enter the result for the first team.”
GET Team1_Res
DISPLAY “Please enter the name of the second team.”
GET Team2_Nam
DISPLAY “Please enter the result for the second team.”
GET Team2 _Res
DISPLAY “Was  the match won through penalty shoot out?”
IF true IS Team1_Res>Team2_Res
IF Team1_Res ==Team2_Res
IF Team1_Res ==Team2_Res
DISPLAY “For this match: + Team1_Nam + Team1_Res ”:” + Team2_Nam + Team2 _Res

......and now I'm stuck :s

Answer : Algorithm using pseudocode

Added a few variablles below:

Usable?

Chris
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
DECLARE  Team1_Nam, Team1_Res, Team2_Nam, Team2 _Res, Team1_Status, Team2_Status, Both_WPS
WIN = 3
DRAW = 1
LOSE = 0
WIN _WPS= 2
LOSE_WPS = 1
DISPLAY “Please enter the name of the first team.”
GET Team1_Nam 
DISPLAY “Please enter the result for the first team.”
GET Team1_Res
DISPLAY “Please enter the name of the second team.”
GET Team2_Nam
DISPLAY “Please enter the result for the second team.”
GET Team2 _Res 
IF Team1_Res = Team2_Res then
    if WPS then
ELSE
    DISPLAY “Was  the match won through penalty shoot out?”
    GET WPS
    if WPS = true
        IF Team1_Res > Team2_Res then
            team1_Status = WIN _WPS
            team2_status = Lose_WPS
        Else
            team1_Status = Lose_WPS
            team2_status = Win_WPS
        end if
    else
        IF Team1_Res > Team2_Res then
            team1_Status = Win
            team2_status = Lose
        Else
            team1_Status = Lose
            team2_status = Win
        end if
    end if
end if
DISPLAY “For this match: + Team1_Nam + Team1_Status ”:” + Team2_Nam + Team2 _Status
Random Solutions  
 
programming4us programming4us