Assignment 1 Java 2 International class
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
828 B

  1. import java.util.*;
  2. public class VetClinic {
  3. private static Scanner scan;
  4. private static int petId = 1;
  5. public static void main(String[] args) {
  6. ArrayList<Pet> pets = new ArrayList<Pet>;
  7. scan = new Scanner(System.in);
  8. public static void printMainMenu();{
  9. System.out.println("1. Adding a Pet ");
  10. System.out.println("2. Delete a Pet");
  11. System.out.println("3. Show all Pet(s)!");
  12. System.out.println("4. Add a drug for a Pet ");
  13. System.out.println("5. Edit information Pet ");
  14. System.out.println("6. Quit \n ");
  15. System.out.println("Your Choice: ");
  16. }
  17. int choose = scan.nextLine();
  18. while (choose!= 0){
  19. switch(choose){
  20. case 1:
  21. printChoicePet();
  22. case 2:
  23. case 3:
  24. case 4:
  25. case 5:
  26. case 6:
  27. }
  28. }
  29. }
  30. }