Hunt 3: Text and numbers
이 페이지는 최신 브라우저(SharedArrayBuffer 지원)가 필요합니다. Chrome, Edge, Firefox 또는 Safari를 최신 버전으로 업데이트해 주세요.
English
Text or number?
"3"is a STRING.3is an INTEGER. They act differently.- Join strings with
&. Turn a number into a string withNUM_TO_STR.
| Word | Meaning |
|---|---|
| data type | the kind of value: STRING, INTEGER, REAL, CHAR, BOOLEAN |
| convert | change the type of a value |
DECLARE Age : INTEGER
Age ← 3
OUTPUT "Age: " & NUM_TO_STR(Age)
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Your pet is stuck! This program should output Kit is 3 years old. Find the bug and fix it.
출력을 보려면 '실행'을 클릭하세요.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Your pet is stuck! This program should output Good. Find the bug and fix it.
출력을 보려면 '실행'을 클릭하세요.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Your pet is stuck! This program should output K. Find the bug and fix it.
출력을 보려면 '실행'을 클릭하세요.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Your pet is stuck! This program should output 8. Find the bug and fix it. (The input is 4.)
출력을 보려면 '실행'을 클릭하세요.
난이도 3/5 · 200코인 + 오늘 첫 완료 시 작은 보너스 추가
Your pet is stuck! This program should output 7.5. Find the bug and fix it.
출력을 보려면 '실행'을 클릭하세요.