Problem
1. Explain what the with and use clauses do.
2. Compare the use package clause and the use type clause.
3. Why should Ada programmers avoid the use package clause?
4. The following Ada program fragment requires package Pixel given on page 697. It does not compile. The compiler gives a syntax error on the Boolean expression in the if statement.
a. Why does the compiler reject the Boolean expression in this if statement?
b. Give two ways to correct the problem in this code fragment.