Problem with if else??
After running the program it asks for 4 inputs but I have to find avg for 3 tests only.
i think its because u didnt type cast the avg variable
Lakindu Jayathilaka why doesn't "%d%d%d" work.
scanf("%d", &test1) && scanf("%d", &test2) && scanf("%d", &test3)
in my opinion the best thing to do without making the code a mess is to use three scanf functions