Update main.cpp

i call the functs of the variables.cpp here.