NEED A PERFECT PAPER? PLACE YOUR FIRST ORDER AND SAVE 15% USING COUPON:

ssjassigment2

[ad_1]

This week you are going to create a Visual Basic program which produces a quote for youth groups to go to camp.  The user will enter the values and the program will determine the total cost of the trip.

    Form Setup
    You must save your project using your initials in the name**  This is required and the project will not be accepted otherwise.
    Design your screen to look like the one below.
    Update the backcolor to the color of your choice.
    Use appropriate naming conventions for controls and variables.
    Tab Control must flow in order and not go to the total textbox
    All buttons have access keys
    Total Textbox must be read only
    Lock the controls on the form.
    Choose 4 locations of your choice for camp and create a radio button for each:
    Location1 price per day $500
    Location 2 price per day $100
    Location 3 price per day $50
    Location 4 price per day $150
    Code
    A travel fee in the amount of $300 must be stored in a constant variable
    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.
    Remove any subs that are not utilized by the program
    Calculate Button
    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. Make sure your error messages are meaningful.
    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.
    Store the amounts entered by the user in variables and use these variables in the formula.
    Save the location selected in a variable
    Determine the price per day depending on the location selection.  You must show you can use a case statement for this decision.
    Calculate the cost for the total trip using the calculation below:
((number of people) * (daily cost of trip) * (number of days)) + insurance amount + fee
    Display the Total cost of the tip formatted as currency
    Close Button
    The application quits when the button is pressed
    Clear Button
    The text boxes are cleared
    The check box is cleared

[ad_2]

Source link

Looking for this or a Similar Assignment? Click below to Place your Order