Question: I need help creating a hierarchy chart for my homework: Think about an example program that would be a good fit for functions. Design a

I need help creating a hierarchy chart for my homework:

Think about an example program that would be a good fit for functions. Design a program that includes one main modules and three or more functions.

The submission should include:

  • The hierarchy chart for your design
  • The signature for the main module and a signature for each function
  • Note that you do not need to write the pseudo code for the modules / functions

Create the hierarchy chart and write the signatures

Here is my example program:

Module integer add(integer arg1, integer arg2)

End Module add

Module real sub(real arg1, real arg2)

End Module sub

Module real div(integer arg1, integer arg2)

End Module div

Module main()

call add(arg1, arg2);

call sub(arg1, arg2);

call div(arg1, arg2);

End Module main

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!