#include<iostream>
int show(int a,int b)
{
//cout<<"暗暗暗暗暗暗暗暗啊/n";
return a+b;
}
int main()
{
using std::cout;
using std ::cin;
int a=3,b=4;
cout<<"a+b"<<show(a+b);
cout<<endl;
cout<<"好无余哦/n";
cout<<endl;
return 0;
}
#include<iostream>
int show(int a,int b)
{
//cout<<"暗暗暗暗暗暗暗暗啊/n";
return a+b;
}
int main()
{
using std::cout;
using std ::cin;
int a=3,b=4;
cout<<"a+b"<<show(a+b);
cout<<endl;
cout<<"好无余哦/n";
cout<<endl;
return 0;
}
#include<iostream>
int show(int a,int b)
{
//cout<<"暗暗暗暗暗暗暗暗啊/n";
return a+b;
}
int main()
{
using std::cout;
using std ::cin;
using std::endl; //endl
int a=3,b=4;
cout<<"a+b"<<show(a,b); //两个实参之间用逗号分隔.
cout<<endl;
cout<<"好无余哦/n";
cout<<endl;
return 0;
}
#include<iostream.h>
int show(int a,int b) {
//cout<<"暗暗暗暗暗暗暗暗啊/n"; return (a+b); }
int main() { using std::cout; using std ::cin; int a=3,b=4; cout<<"a+b"<<show(a,b); cout<<endl; cout<<"好无余哦/n"; cout<<endl; return 0; }