The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
For a long time, I consider it very cumbersome to handle every possible exception in many function calls, especially in trivial cases where a return value could be used in a meaningful way even in the case of unexpected behaviour - Here I want to de…