c++基本编程之两个数的和,参考代码如下:
#include
using namespace std;
int main()
{
cout<<"Enter two number:"<
cin>>v1>>v2;
cout<<"The sum of"<
}
#include "iostream.h"
void main()
{
int A,B;
cin>>A>>B;
cout<}
#include
using namespace std;
int main()
{
int A,B;
cin>>A>>B;
cout<<"A+B="<return 0;
}
#include
int
main(void)
{
int a, b;
scanf("%d %d", &a, &b);
printf("%d+%d=%d\n", a, b, a+b);
return 0;
}