Convert Number into Text.
Kuuluvus: Iisraeli ülikoolResolutsioon: Üksikisik | Kestus: Üks kuni kaks tundi
Ülevaade
Eesmärgid
The objective of this activity is to convert number to text (123 to One Hundred Twenty Three).
Õppe-eesmärgid
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.
Sisu
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.
Postitatud
Programmeerimiskeeled / kompilaatorid