Extremely important!!

C++ beginner here, can someone please tell me how to do this: Create an overloaded function called sumNumbers that accepts 4 ints??
Hi,
> Create an overloaded function called sumNumbers that accepts 4 ints??

Here you go :
1
2
3
4
int sumNumbers(int i1, int i2, int i3, int i4)
 {
      return (??? + ??? + ??? + i4);
 }
Last edited on
Just filling in all (???) and you have the working code. Don't worry, it works :)
Last edited on
Does that help you? :)
Thank you! If you don't mind me bothering you more, if I want the viewer to put in the numbers, how would I do it?
> If I want the viewer to put in the numbers, how would I do it?
In other words, you want to call that function?
Topic archived. No new replies allowed.