View Single Post
Go4Expert Founder
26Jun2007,09:13  
shabbir's Avatar
Offtopic comment:
I have added the code blocks


There are 2 ways your problem can be solved.

1. Define sumprod(int x,int y,int z) above the main.
2. Have the function declaration (prototype) above the main and then have the function definition where you are having it right now.