Convert Number into Text.
Принадлежност: Университет ИсраРезолюция: Индивидуален | Продължителност: Един до два часа
Общ преглед
Цели
The objective of this activity is to convert number to text (123 to One Hundred Twenty Three).
Цели на обучението
After the activity, students will be able to: • Understand how to use the conditional statements and arithmetic operators. • Understand how to use the recursive function.
Контекст
A recursive function is a function that calls itself during its execution. This enables the function to repeat itself several times, outputting the result and the end of each iteration. Broke the number into pieces. The number is broken into Ones and Tens.
Публикувано в
Езици за програмиране / Съставители