第二部分算法c语言基础课程.pptVIP

  • 1
  • 0
  • 约8.28千字
  • 约 43页
  • 2016-12-05 发布于江苏
  • 举报
IIP Lab., Dept.of Comput. Sci. Technol.,YBU N-S图(N-S diagram) Representation of Algorithm 分支(选择)结构 判断 操作A 操作B Y N N-S 分支(选择)结构 判断 Y N 操作B 操作A IIP Lab., Dept.of Comput. Sci. Technol.,YBU N-S图(N-S diagram) Representation of Algorithm 循环结构 判断 操作A Y N N-S 循环结构 循环条件 (判断结果为Y) 操作A IIP Lab., Dept.of Comput. Sci. Technol.,YBU N-S图(N-S diagram) 例:求1+2+…+100 Representation of Algorithm i ? 100 s ? s + i i ? 1 s ? 0 i ? i + 1 输出 s IIP Lab., Dept.of Comput. Sci. Technol.,YBU Lecture 2 Basic of Algorithm Concept of Algorithm Representation of Algorithm Structured Programming Method ——结构化程序设计方法 【重点】结

文档评论(0)

1亿VIP精品文档

相关文档