...

/

Challenge: Overload a Function

Challenge: Overload a Function

Here is a coding challenge based on the concepts of function overloading.

We'll cover the following...

Problem statement

Consider you have a function info():

void info(TimeOfDay time) {
    writef("%02s:%02s", time.hour, time.minute); 
}
...