Programming Assignment 3 (Save in ZIP File) (Visual Basic)

Windows Forms App (.NET Framework) Save as CSassignment3

 

Programming Assignment 3 Instructions

This week you are going to take your youth camp program further and utilize subs and functions. The user will enter the values and the program will determine the total cost of the trip based on the entry from the user. The program will use a function to determine the cost and a sub to clear the data. 

  1. Form Setup
    1. You must save your project using your initials in the name** This is required and the project will not be accepted otherwise.
    2. Design your screen to look like the one below. 
    3. Update the backcolor to the color of your choice.
    4. Lock all controls.
    5. Use appropriate naming conventions for controls and variables. 
      1. Txt for textbox
      2. Lbl for label
      3. Frm for form
      4. Chk for checkbox
      5. Lst for listbox
    6. Tab Control must flow in order and not go to the total textbox
    7. All buttons have access keys
    8. The lstbox must be cleared before written to.
    9. Choose 4 locations of your choice for camp and add them to a dropdownlist combo: The price per day should not show but these prices will be used in the program.
      1. Location1 – price per day $500
      2. Location 2 – price per day $100
      3. Location 3 – price per day $50
      4. Location 4 – price per day $150
  2. Code
    1. A travel fee in the amount of $300 must be stored in a constant variable
    2. Create a comment section at the beginning of the code with the name of the assignment, purpose of the assignment, and your name. Comments must be throughout each sub of the application. 
    3. Remove any subs that are not utilized by the program
  3. Calculate Button
    1. The information that was entered should be checked to make sure there are values entered. If the user entry contains null values, the user should be so advised, and the user should be directed to the text box that contains the error. The user must enter a group name, location, day of travel, and number of travelers. Make sure your error messages are meaningful.
    2. Determine if insurance is wanted based on the value of the checked box. Set the value of insurance to zero if the option is not checked and $150 if the option is checked.
    3. Store the amounts entered by the user in variables and use these variables in the formula.
    4. Call the calculate function to retrieve the value of the daily cost
    5. Utilize a for loop to display a camper total for the cost per number of youth added
    6. Calculate the cost for the total trip using the calculation below:

((number of people) * (daily cost of trip) * (number of days)) + insurance amount + fee

  1. Display the total cost of the trip 
  2. Call a sub to determine if a bus is needed for the trip
  3. Make sure all costs are shown as currency
  4. Make sure all spacing is accurate
  5. Calculate function
    1. Determine the price per day depending on the location selection. You must show you can use a case statement for this decision.
    2. Return the daily cost
  6. Bus Sub
    1. Receives the number of travelers
    2. Checks to see if the number of travelers is over 10. If over 10 the bus label is updated to display a Y. If the number of travelers is less than 10 the bus label is updated to display a N
  7. Close Button
    1. The application quits when the button is pressed
  8. Clear Button
    1. The text boxes are cleared
    2. The check box is cleared
    3. The listbox is cleared
    4. The combobox is cleared
    5. The Bus label is cleared
Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Homework Mules
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Finance
Thank you very much!! I should definitely pass my class now. I appreciate you!!
Customer 452591, June 18th, 2022
Psychology
I requested a revision and it was returned in less than 24 hours. Great job!
Customer 452467, November 15th, 2020
Psychology
Thank you. I will forward critique once I receive it.
Customer 452467, July 25th, 2020
Political science
I like the way it is organized, summarizes the main point, and compare the two articles. Thank you!
Customer 452701, February 12th, 2023
Accounting
Thank you for your help. I made a few minor adjustments to the paper but overall it was good.
Customer 452591, November 11th, 2021
Technology
Thank you for your work
Customer 452551, October 22nd, 2021
Political science
Thank you!
Customer 452701, February 12th, 2023
Business Studies
Great paper thanks!
Customer 452543, January 23rd, 2023
Education
Thank you so much, Reaserch writer. you are so helpfull. I appreciate all the hard works. See you.
Customer 452701, February 12th, 2023
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Show more
<