1
已采纳
杨子逸
新手天翼
新手天翼
输出<<"+"<<endl; 输出<<"-"<<endl; 输出<<"*"<<endl; 输出<<"/"<<endl; 输出<<"?"<<endl; 输出<<"<"<<endl; 输出<<">"<<endl; 输出<<"#"<<endl; 输出<<"!"<<endl; 输出<<"~"<<endl;
输出cout
0
黄昊轩
新手守护
新手守护
begin writeln('+'); writeln('-'); writeln('*'); writeln('/'); writeln('?'); writeln('<'); writeln('>'); writeln('#'); writeln('!'); writeln('~'); end.
0
0
王翰闻
新手守护
新手守护
输出<<"+"<<endl; 输出<<"-"<<endl; 输出<<"*"<<endl; 输出<<"/"<<endl; 输出<<"?"<<endl; 输出<<"<"<<endl; 输出<<">"<<endl; 输出<<"#"<<endl; 输出<<"!"<<endl; 输出<<"~"<<endl;
0
0
0
沈隆杰
修练者
修练者
#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
cout<<"+"<<endl;
cout<<"-"<<endl;
cout<<"*"<<endl;
cout<<"/"<<endl;
cout<<"?"<<endl;
cout<<"<"<<endl;
cout<<">"<<endl;
cout<<"#"<<endl;
cout<<"!"<<endl;
cout<<"~"<<endl;
return 0;
}
思路:题目中没有输入条件,有输出条件,直接用“cout<<“即可
沈隆杰在2018-03-23 22:04:55追加了内容
#include<cstdio>可以不用,抱歉,抱歉
0
姜成禹
新手守护
新手守护
核心: cout<<"+\n"<<"-\n"<<"*\n"<<"/\n"<<"?\n"<<"<\n"<<">\n"<<"#\n"<<"!\n"<<"~\n";
0