10.24 work

时间:2017-11-06 22:04:26   收藏:0   阅读:238
#include<iostream>
using namespace std;
int sum(int x,int y);
int main(){
    int a,b,s;
    cout<<"enter two number"<<endl;
    cin>>a>>b;
    s=sum(a,b);
    cout<<"the sum of a and b"<<s<<endl;
    return 0;
}
    int sum(int x,int y){
        return x+y;
    }

技术分享

 

原文:http://www.cnblogs.com/sanyeai/p/7795350.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!