Java Question Question 1 – Scanner class user input and ifstatement practice Pete at Pete’s Petting Zoo wants a program towork out what to charge groups of visitors to his children’s zoo.An adult’s ticket costs $10, a child’s ticket cost $5 and a familyticket (for 2 adults and 2 children) costs $26. The program mustask the user to enter the number of adults and the number ofchildren in the group and display to screen the cheapest selectionof tickets and the total cost. A sample execution of the program isshown here. Note, if no tickets are required of a particular typeno
PayPal Gateway not configured
PayPal Gateway not configured