The function of the code is as below:
Classify one's age and,
if sb is over 18 years old, then compare his/her favorite food with "pizza".



package practice;

import java.util.Scanner;