Is it big? · มันใหญ่ไหม?
Is it big?
n is 120. Print big only when n is more than 100. Print nothing otherwise.
One if, nothing else. The line that asks the question ends with a colon :, and the line that happens when the answer is yes is indented underneath it.
เป็น عددมากหรือไม่?
n คือ 120. พิมพ์ big เฉพาะเมื่อ n มากกว่า 100. ไม่พิมพ์อะไรเลยหากไม่เป็นเช่นนั้น
if เพียงหนึ่งบรรทัด ไม่มีอะไรอื่น บรรทัดที่ถามคำถามลงท้ายด้วยจุดสอง : และบรรทัดที่เกิดขึ้นเมื่อคำตอบคือใช่จะถูก เยื้อง ไว้ด้านล่าง
n is 120. Print big only when n is more than 100. Print nothing otherwise. · n คือ 120. พิมพ์ big เฉพาะเมื่อ n มากกว่า 100. ไม่พิมพ์อะไรเลยหากไม่เป็นเช่นนั้น
Click Run to see the output here. · คลิก Run เพื่อดูผลลัพธ์ที่นี่