How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Scott Your Own Question

Scott, MIT Graduate
Category: Homework
Satisfied Customers: 3040
Experience:  MIT Graduate (Math, Programming, Science, and Music)
Type Your Homework Question Here...
Scott is online now
A new question is answered every 9 seconds

Design and write a program (VB) that collects the following

Customer Question

Design and write a program (VB) that collects the following information from a user:  First Name  Last Name  Street Address  City  State o State must be two characters o Convert all user input to upper case o Validate the state by searching for the entered state code in an array of state codes (sequential search)  Extra Credit for a Binary Search  Zip o Allow for a 5 digit (02886) zip code or a zip + 4 (02886-8845) o All other formats should be rejected o Extra Credit  Allow the user to enter a Zip+4 value in the format XXXXXXXXX and your setter method for zip should format the data asNNN-NN-NNNNas it is being stored in the zip field of the object  Phone Number o Extra credit  Add phone number validation to your get phone number module or function  Allow the user to enter data in the format XXXXXXXXXX and setter method of the phone number field will format the phone number as (XXX) XXX-XXXX Your program should utilize an object called Person that stores the above information. Your program should also contain two parallel arrays that store the names and codes of all 50 states. So, this means you will have two arrays, one holds the two character state codes and the second stores state names. If the arrays are called stateCodes and stateNames, stateCodes[1], stateNames[1] should return the code and name of a state. Your program should, like what you did for the programming assignments, ask a user to enter the data for the fields of the Person object. The user’s input should be stored in an array of Person objects. Your program should ask the user if they have more data to enter after each entry. When the user indicates that they are done with data entry, ask the user what they want to sort the data by: ((L) – Last Name, (S) – State Code, (Z) – Zip Codes). Once a sorting value is selected, use the bubble sort algorithm to sort your array of Person objects. Or you can choose to use a GUI design like this one: Your program should utilize at least one recursive module. Finally, print out the contents of your Person array in this format: First Name: Last Name: Street Address: City: State: RI – Rhode Island Zip: Phone Number: Use a toString() method in your Person object that prints the contents of the object in format above. I can attached the picture when contacted.

Submitted: 3 years ago.
Category: Homework
Expert:  LogicPro replied 3 years ago.
Welcome to JustAnswer.
My name is XXXXX XXXXX I will help you.
If you have any file(s). Zip, upload the file to and post download link here.
Customer: replied 3 years ago.

Thanks I need this by Wednesday by 8pm.


Expert:  LogicPro replied 3 years ago.
I will review it and let you know ASAP.
Customer: replied 3 years ago.

thank you

Expert:  LogicPro replied 3 years ago.
Customer: replied 3 years ago.

I am all set I was able to resolve this.

Expert:  LogicPro replied 3 years ago.
Do you still need it?
Customer: replied 3 years ago.
No I am all set
Expert:  LogicPro replied 3 years ago.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

Meet The Experts:

  • LogicPro



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >
  • LogicPro's Avatar



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany


    Satisfied Customers:

    More than 5000 online tutoring sessions.
  • Linda_us's Avatar


    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    Post Graduate Diploma in Management (MBA)
  • Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    Experience with chartered accountancy
  • Bizhelp's Avatar



    Satisfied Customers:

    Bachelors Degree and CPA with Accounting work experience
  • Seanna's Avatar



    Satisfied Customers:

    3,000+ satisfied customers, all topics, A+ work

Related Homework Questions