Procedure Programing

Share:

Procedure programing



  • procedure programing,the given problem is devided into number of small sub problems depending on the functionality

  • then each sub problem is written as a procedure called function or method

  • procedure programing

  • the above problem has one main function and 7 function

  • the varible declared outside the main function are called global varible



Features of procedure programing



  1. large problem are divided into smaller problems know as function or procedure

  2. it uses top-down programing technique

  3. data moves freely from one function to another

  4. the variables declared out side the function are called global varible and can be shared by all function

  5. data hiding is not posssible

  6. it is difficult to add new functions and data structures

No comments