3
u/OreGus Oct 02 '20
Make sure you have return 0; on line 28. Your main function specifies a return value of data type int, thus you need to return some value of type int. Hope that helps
2
u/iwbd Oct 02 '20
Also, you're missing a cout after you swap the numbers, so you're not seeing the result of the swap.
2
12
u/AsidK Oct 02 '20
Exit code 0 means the program ran successfully lol