Here we defined the method numToStr. It will take in an int number and then check if it is equal to1.
numToStr
int number
1
If it is equal to 1, the function will return "one" as a string.
"one"
string