正在加载图片...
ftincludeslostreamh void mainO int x,y cout<<please input a number: <<endl cin>>X if(x>=1&&x<10) y=2*x-1 else if(x>=10) V=3*x-11 else y-x cout<<y=<<y<<endl#include<iostream.h> void main() { int x,y; cout<<"please input a number:"<<endl; cin>>x; if(x>=1&&x<10) y=2*x-1; else if(x>=10) y=3*x-11; else y=x; cout<<"y="<<y<<endl; }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有