

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An ada code example of implementing predecessor and successor functions for an enumeration type named day. The code includes package specification, implementation, and testing. The day type consists of seven enumerated values: monday through sunday.
Typology: Exercises
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Checking: c:/docume~2/jk/desktop/16070/codeso~1/my_type_package.ads (source file time stamp: 2003- 09-24 01:59:20)
28 lines: No errors
Compiling: c:/docume~2/jk/desktop/16070/codeso~1/my_type_package.adb (source file time stamp: 2003- 09-24 02:00:04)
32 lines: No errors