Edwin has created a Go program to test his knowledge about channels and tried to run it. However, during execution, his program ran into a fatal error!
The cause of the fatal error is that the sender function is missing an essential code line to send a flag that no more values will be transmitted on the channel.
Please help Edwin add the missing line in the sender function to fix his program.