A simple example of using ‘sprintf’

In this example, I am showing a very brief example of using ‘sprintf’ in a user-defined function for R