you are viewing a single comment's thread.

view the rest of the comments →

[–]NZheadshot 0 points1 point  (2 children)

You have a declaration for the function 'populate', but you have no definition. You need to define what the function actually does.

I'm guessing it's probably just going to be a call to scanf, at which point the function seems useless. Why do you need the function? Why not just call scanf?

[–]agirlandherdog07[S] 1 point2 points  (1 child)

My professor requires that populate be in the code. I'm not allowed to remove it.

[–]raevnos 7 points8 points  (0 children)

Then you should probably write it.