52
Programming Languages for mis
5. Draw an object- oriented programming design diagram for the preceding
C++ program.
6. Write the expected print result generated by the preceding C++ program.
7. Run the C++ programs in Listings 2.10(a) and 2.10(b). Has the
GroceryInventoryProcess method of the GROCERY class ever been
used in this program? Discuss the advantages of object- oriented mod-
ules. Expand the programs in Listings 2.10(a) and 2.10(b) to use the
GroceryInventoryProcess method.
8. Develop a C project that contains one main function and two or more func-
tions used by the main function. e document of your project includes:
• Brief description of your project
• A structure diagram for your program
• Source code of your project
•