C++语言的基本成分 – 数据成分()() ().pptVIP

  • 20
  • 0
  • 约1.96万字
  • 约 88页
  • 2018-06-02 发布于广东
  • 举报

C++语言的基本成分 – 数据成分()() ().ppt

C语言的基本成分–数据成分()()()

* * * * * * * * * * * * * * * * * * * * * * * #includestdio.h int main() { int a,b,c; scanf(%d%d,a,b); c=a+b; printf(The sum is %d\n,c); return 0; } scanf(%d%d”,a,b); #includeiostream using namespace std; int main() { int a,b,c; a=2; b=3; c=5; cout(a+b)*cendl; return 0; } #includeiostream using namespace std; int main(){ int a,b,sum; couta=; cina; coutb=; cinb; sum=a+b; couta+b=sumendl; return 0; } cout 与标准输出不符 #include math.h int main(){ float x,y; int year;scanf(%f %f,

文档评论(0)

1亿VIP精品文档

相关文档