《机械C第一讲.pptVIP

  • 3
  • 0
  • 约1.13万字
  • 约 49页
  • 2017-01-13 发布于北京
  • 举报
《机械C第一讲

#include stdio.h int main( ) { int a,b,sum; a = 123; b = 456; sum = a + b; printf(”sum is %d\n”,sum); return 0; } 用sum的值替代 希望输出的字符 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. 思考题 1.求三个整数之和 2.求十个整数之和 3.求一千个整数之和 4.求两个整数之差 5.求两个整数之积 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. 例3:求任意两个数中的大值。 /*the example calculate the maximum of a and b*/ #

文档评论(0)

1亿VIP精品文档

相关文档