Convert Number into Text.

Affiliation: Isra University
Resolution: Individual | Duration: One to two hours

Overview


Goals

The objective of this activity is to convert number to text (123 to One Hundred Twenty Three).

Learning Objectives

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.

Context

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.