I am watching a YouTube tutorial and this code was in the video, and worked fine for them.
But I get the 'error: expected expression' error when I build / run it.
This is the error message line I get it on :
../main.c:33:12: error: expected expression
average = float(total) / float(howMany);
^
This is the video I was following : https://www.youtube.com/watch?v=gWppLYaCICM
I couldn't find any solutions that fitted this exact problem, nor that made sense to me.
Thanks in advance.