首页 > 其他 > 详细

10.24 work

时间:2017-11-06 22:04:26      阅读:237      评论:0      收藏:0      [点我收藏+]
#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;
    }

技术分享

 

10.24 work

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!