Create Midterm_6_with_functions_main.cpp