Next: EXAMPLE
Up: Ceng-111 9697 Fall Homework-2
Previous: PROBLEM
- You will name your function that does the conversion as convert.
convert will take exactly one argument which is the integer to be
converted.
- If the input is not an integer then the function shall return the
string
"The argument is not an integer"
- If the input is not an integer in the specified range then
the function shall return the string
"In school we have not seen yet how to express this!"
- You are allowed to write other functions that you will use in the
definition of convert. You are free in naming them.
- You shall try to write short and concise functions. This will influence
the grade you will get.