Subprogram declarations and package declarations each serve


Problem

1. Subprogram declarations and package declarations each serve to define an interface. Why are clear interfaces so important?

2. When is a definition package useful?

3. Using the definition package Customer_Accounts on page 690.

a. Declare a variable called Name whose type is Name_Rec.

b. Instantiate a package for sequential I/O of components of type Name_Rec.

c. Write a Boolean function that takes two parameters of type Customer_Rec and returns True if the Account_Number of the first parameter is greater than that of the second parameter.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Subprogram declarations and package declarations each serve
Reference No:- TGS02652937

Expected delivery within 24 Hours