-
Notifications
You must be signed in to change notification settings - Fork 39
/
1763.poti
36 lines (35 loc) · 1.06 KB
/
1763.poti
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
natal = [
("alemanha", "Frohliche Weihnachten!"),
("antardida", "Merry Christmas!"),
("argentina", "Feliz Navidad!"),
("australia", "Merry Christmas!"),
("austria", "Frohe Weihnacht!"),
("belgica", "Zalig Kerstfeest!"),
("brasil", "Feliz Natal!"),
("canada", "Merry Christmas!"),
("chile", "Feliz Navidad!"),
("coreia", "Chuk Sung Tan!"),
("espanha", "Feliz Navidad!"),
("estados-unidos", "Merry Christmas!"),
("grecia", "Kala Christougena!"),
("inglaterra", "Merry Christmas!"),
("irlanda", "Nollaig Shona Dhuit!"),
("italia", "Buon Natale!"),
("japao", "Merii Kurisumasu!"),
("libia", "Buon Natale!"),
("marrocos", "Milad Mubarak!"),
("mexico", "Feliz Navidad!"),
("portugal", "Feliz Natal!"),
("siria", "Milad Mubarak!"),
("suecia", "God Jul!"),
("turquia", "Mutlu Noeller")
]
var pais := leia_texto
enquanto nao eof faca
x = natal.selecione(a => a.primeiro == pais)
escolha x
caso a :: as => escreva a.segundo
caso _ => escreva "--- NOT FOUND ---"
fim
pais := leia_texto
fim