I wrote a program and this 2 lines came up with the same error declaration:
Scanf("((%d/%d)*%d)", &Mark1, 40, 100; Printf("Average of marks is: %.3f", Avg);
Both these lines came up with these error comments below:
Line 1: Function "Scanf" should have a prototype.
Line 2: Function "Printf" should have a prototype.
Can anyone explain to me what does it mean by "should have a prototype"...???
How can I correct the lines then, so that no error happens again???
Please & thanks in advance.