Question: I do not know why I am getting a redefinition of main in lines 27 and 14, and what should I do to fix it

I do not know why I am getting a redefinition of main in lines 27 and 14, and what should I do to fix it so that both codes run correctly together when compiling?
Compilation failed due to following error(s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
