自留or欢迎大佬纠错
【题目描述】
在屏幕上输出“Hello World!
”。
【输入】
(无)
【输出】
(无)
【输入样例】
(无)
【输出样例】
Hello World!
#include<stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d\n",a+b);
return 0;
}
(以下c++解法)
#include<iostream>
using namespace std;
int main()
{
int a,b;
cin >>a>>b;
cout <<a+b<< endl;
//system("pause");
return 0;
}