Exercises

We'll cover the following...

Exercise 1

The identity function is a function that always returns whatever value is passed to it. Add an identity function to this program so that the main function prints “Success!” without modifying main:

Access this course and 1400+ top-rated courses and projects.