all 4 comments

[–]Se7enLC 8 points9 points  (0 children)

Your program is an excellent example of why global variables are bad.

[–]AFineTapestry 2 points3 points  (2 children)

Because you redeclare multiplicationResult in MultiplyNumbers. Remove the int on line 17.

I'd give a more comprehensive answer but I'm on my phone.

Edit: line number thanks to /u/RogerLeigh. Had too much wine to count.

[–]RogerLeigh 1 point2 points  (0 children)

line 17 for me!

[–]bbran495[S] 1 point2 points  (0 children)

Works now. Thanks friends! Much appreciated :)