Reputation: 11
I tried to compile this but I keep getting a conflicting type error. Im not really sure what to do or how to fix i![enter image description here][1]t..
https://i.sstatic.net/viBUj.png
Edit; after some work Im getting alot less errors but I still got some https://i.sstatic.net/f88gN.png
Upvotes: 0
Views: 109
Reputation: 431
Notice that your prototype for calc is:
int calc(int grade);
But your definition is
int calc(int grade, int cw, int hw, int qz, int fe) {
Update your prototype to match your definition and it should solve that problem.
Upvotes: 0