大连东软信息学院大一上 电子工程 c语言-实验第五次,第十周..docVIP

  • 11
  • 0
  • 约4.81万字
  • 约 8页
  • 2017-01-20 发布于河南
  • 举报

大连东软信息学院大一上 电子工程 c语言-实验第五次,第十周..doc

Lab5 Structured Programming OBJECTIVES After completing this experiment, you will be able to: Write your own functions and call them in your program Use local scope variables Use global scope variables Use Top-down method to solve complex problem PROCEDURES PART 1 function syntax 1. Write a function prototype for a function with the name calcnum that will receive two variables of type int (i.e., function parameter) and returns nothing Print Screen of code: void calcnum(int,int); —————————————————— 2. The process (code) in function calcnum is given as below, use these code to establish the

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档