Csis 208 application programming assignment


CSIS 208 APPLICATION  PROGRAMMING ASSIGNMENT- Liberty University

INSTRUCTIONS

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

a. You must save your project using your initials in the name** This is required and the project will not be accepted otherwise.

b. Design your screen to look like the one below.

c. Update the backcolor to the color of your choice.

d. Lock all controls.

e. Use appropriate naming conventions for controls and variables.

i. Txt for textbox
ii. Lbl for label
iii. Frm for form
iv. Chk for checkbox
v. Lst for listbox

f. Tab Control must flow in order and not go to the total textbox

g. All buttons have access keys

h. The lstbox must be cleared before written to.

i. 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.

i. Location1 - price per day $500
ii. Location 2 - price per day $100
iii. Location 3 - price per day $50
iv. Location 4 - price per day $150

2. Code

a. A travel fee in the amount of $300 must be stored in a constant variable

b. 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.

c. Remove any subs that are not utilized by the program

3. Calculate Button

a. 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.

b. 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.

c. Store the amounts entered by the user in variables and use these variables in the formula.

d. Call the calculate function to retrieve the value of the daily cost

e. Utilize a for loop to display a camper total for the cost per number of youth added

f. Calculate the cost for the total trip using the calculation below:

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

g. Display the total cost of the trip

h. Call a sub to determine if a bus is needed for the trip

i. Make sure all costs are shown as currency

j. Make sure all spacing is accurate

4. Calculate function

a. Determine the price per day depending on the location selection. You must show you can use a case statement for this decision.
b. Return the daily cost

5. Bus Sub

a. Receives the number of travelers

b. 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

6. Close Button

a. The application quits when the button is pressed

7. Clear Button

a. The text boxes are cleared
b. The check box is cleared
c. The listbox is cleared
d. The combobox is cleared
e. The Bus label is cleared.

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Csis 208 application programming assignment
Reference No:- TGS03023873

Expected delivery within 24 Hours