Input and Output

  • + 0 comments
    using namespace std;
    int sum(int a, int b , int c){
        return a+b+c;
    }
    
    int main() {
          int a;
          int b;
          int c;
          cin>>a >>b >> c;
          cout <<sum(a,b,c);
        return 0;
    }