c - Void function error (value computed is not used) -
hi have tried couple variations of code , can't figure out how resolve these warnings. the objective create modular representation of monty hall problem in c problem my outputfinalresult function fails give me correct output error messages - gcc -wall monteball.c monteball.c: in function ‘determineoutcomestay’: monteball.c:125:7: warning: value computed not used [-wunused-value] monteball.c:127:3: warning: value computed not used [-wunused-value] monteball.c: in function ‘determineoutcomeswitch’: monteball.c:134:7: warning: value computed not used [-wunused-value] monteball.c:136:3: warning: value computed not used [-wunused-value] monteball.c: in function ‘getfinalchoice’: monteball.c:119:1: warning: control reaches end of non-void function [-wreturn-type] an aside should worried warning? code void outputfinalresult (int winstay, int winswitch, int staycount, int switchcount); //function 4 print statements using arguments calculated determineoutc...