- if
- Switch
- for-in
- for
- while
- do-while
if
let A=90
let score=91
if score > A {
println( “you get grade, A”)
} else {
println(“don’t give up, Fight fight”)
}
Life does not come with instructions on how to live, but it does come with trees, sunsets, smiles and laughter, so enjoy your day.
ชีวิตไม่ได้มาพร้อมกับคู่มือการใช้ชีวิต
แต่ชีวิตมาพร้อมกับต้นไม้, พระอาทิตย์ตก, รอยยิ้มและเสียงหัวเราะ
―Debbie Shapiro
—
by
if
let A=90
let score=91
if score > A {
println( “you get grade, A”)
} else {
println(“don’t give up, Fight fight”)
}