c++语言的问题
#include"iostream.h"intmain(){charinquiry;do{char时机;cout<<"请输入:时机-"<<endl;cin>>时机;if(...
#include"iostream.h"
int main()
{
char inquiry;
do
{
char 时机;
cout<<"请输入:时机-"<<endl;
cin>>时机;
if(时机=oppportuty)
{
cout<<"You are right!!"<<endl;
}
else
{
cout<<"You are wrong!!"<<endl;
}
cout<<"是否重新输入(回答yes或no):"<<endl;
cin>>inquiry;
}while(inquiry!='no'&&inquiry!='NO');
return 0;
}
刚学c++,请问懂的高手知道错哪吗??不懂 展开
int main()
{
char inquiry;
do
{
char 时机;
cout<<"请输入:时机-"<<endl;
cin>>时机;
if(时机=oppportuty)
{
cout<<"You are right!!"<<endl;
}
else
{
cout<<"You are wrong!!"<<endl;
}
cout<<"是否重新输入(回答yes或no):"<<endl;
cin>>inquiry;
}while(inquiry!='no'&&inquiry!='NO');
return 0;
}
刚学c++,请问懂的高手知道错哪吗??不懂 展开
3个回答
2016-01-04
展开全部
Animals and Plants Protection As a matter of fact, a great number of animals and plants are extinct. All this is substantially because of us human beings. And a large number of them are endangered. If this does not imply that we are not obliged to do something, the world is going insane and will be destroyed To stop this from happening, we have many options. First and foremost, we should start from ourselves. Do as what a perfect citizen should do. Then, restrain the factories from polluting. This can be done by establishing laws and rules. If we unite as one, nothing is impossible.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询