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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started