View Code of Problem 1

#include <iostream>
using namespace std;

int Calculate_a_plus_b(int &a,int &b){
    int c;
    c=a+b;
    return c;
}

int main(){
    int a,b;
    int c;
    cin>>a>>b;
    c=Calculate_a_plus_b(a,b);
    cout<<c;
    return  0;
}

Double click to view unformatted code.


Back to problem 1