Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1.  
  2. public class AddressBook02 {
  3. public static void main(String [] args) {
  4. if()
  5. {
  6.  
  7. }
  8. while()
  9. {
  10. do
  11. {
  12. switch(bookType)
  13. {
  14.  
  15. }
  16. }while();
  17.  
  18. do
  19. {
  20.  
  21. }
  22. while(); //Booktype validation
  23.  
  24. do
  25. {
  26. do
  27. {
  28.  
  29. }while();//Addresse validation
  30.  
  31. do
  32. {
  33.  
  34. }while();//Street address validation
  35.  
  36. do
  37. {
  38.  
  39. }while();//City State Zip validation
  40.  
  41. do
  42. {
  43.  
  44. }while();//Phone Number validation
  45.  
  46. do
  47. {
  48. switch(relationship)
  49. {
  50.  
  51. }
  52. }while();//Relationship validation
  53.  
  54. switch(relationship)
  55. {
  56.  
  57. }
  58. }while();
  59.  
  60. switch(bookType)
  61. {
  62.  
  63. }//Print addressbook as personal or business
  64. }//END WHILE
  65. }//END main()
  66. }//END application class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement