Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Sunday, June 2, 2013

Modular Program Flow Chart


-----
Flow Chart:


To learn on how to generate code from Flowchart click here, http://programming-steps.blogspot.com/search/label/Auto-Codes
-----
Pseudo Code:
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. BEGIN main
  2. CALL displaydata
  3. CALL updatedata
  4. CALL displaydata
  5. END main
  6.  
  7. BEGIN displaydata
  8. FOR all item in array PRINT item values
  9. END displaydata
  10.  
  11. BEGIN updatedata
  12. INPUT indexnumber, arrayvalue
  13. arr[indexnumber]=arrayvalue
  14. END updatedata
-----
C Language sample code:
-----
C Language sample output:

-----

No comments:

Post a Comment