Slide 1 Building blocks of a C++ program Each function has a name, which is used to call the function; functions call each other You will write your own functions,…