Sーwーiーfーtーコード2

背景
投稿者投稿者haaaaaいいね0お気に入り登録
プレイ回数93難易度(3.2) 269打 長文 英字 長文モードのみ

関連タイピング

問題文

ふりがな非表示 ふりがな表示

(for)

for

(let individualscores =)

let individualScores =

([75, 43, 103, 87, 12])

[75, 43, 103, 87, 12]

(var teamscore = 0)

var teamScore = 0

(for score in individualscores {)

for score in individualScores {

(print(score) })

print(score) }

(if)

if

(let individualscores =)

let individualScores =

([75, 43, 103, 87, 12])

[75, 43, 103, 87, 12]

(var teamscore = 0)

var teamScore = 0

(for score in individualscores {)

for score in individualScores {

(if score > 50 {)

if score > 50 {

(teamscore += 3)

teamScore += 3

(} else { teamscore += 1)

} else { teamScore += 1

(} })

} }

(print(teamscore))

print(teamScore)