Item no. 1, 3.3

PHOTO EMBED

Fri Sep 23 2022 03:14:45 GMT+0000 (Coordinated Universal Time)

Saved by @Kyle #c++

#include <iostream>
using namespace std;

int add(int x, int y, int z) {
    return (x + y + z);
}

int main()
{
    int x, y, z, sum;
    
    cout << "Sum of three arguements\n"
        << "----------------------------\n"
        << "Please enter three arguements: ";
    cin >> x >> y >> z;
    
    sum = add(x, y,z);
 
    cout << "____________________________\n"
        << x << " + " << y << " + "
        << z << endl
        << "The sum these three arguements are: " << sum;

    return 0;
    
}
content_copyCOPY