Keep a record of the total attendance

Assignment Help Visual Basic Programming
Reference no: EM13748857

You will become acquainted declaring and using variables in simple Visual Basic Windows applications. In addition to that, in this lab you will write simple if/else statements.

Modify the Gate Takings Application

1. Scenario:

Your application from Activity was able to keep a record of the total attendance and the total cash collected from ticket sales from all events happening at the Games.

In this lab, in order to ease the work you do, we will assume that there are only three events involved in the Games. The events or sports are tennis, golf and swimming.

2. What to do:

a. Modify your program so that now it does the following:

1. In addition to keeping track of total attendance and total cash collected, your application should also display:

- Average attendance at each event
- Average gate-takings at each event.

2. Each event has a different ticket price. For example Tennis = $10, Golf = $15, Swimming =$5..

[Hint: You will have to declare 3 constants to store the ticket prices. In Lab you had just one constant. Then use a conditional if/else statement in the click-event procedure of your ‘Calculate' button to correctly compute the total and average gate-takings for a particular event].

b. Make the following changes to your application's interface.

1. Add a label object to display the average attendance.

2. Add a label to display the average gate-takings.

[Hint: Write code under the click-event procedure of the ‘Display Totals' button to display the figures for the average]

3.

i. Make sure that you have completed Lab Activity (Gate Takings Application) and understand well how that program works.

ii. Design the form for the main Activity. You should draw a sketch of the user interface and all the controls on the form.

iii. Think of the variables and their type that you are going to use.

iv. Also in your prep-work, write the code that would go in the click-event handler for the ‘Calculate' button.

Implement the application designed using Microsoft Visual Basic.

Reference no: EM13748857

Questions Cloud

What probability p could make stephanie become indifferent : What probability P could make Stephanie become indifferent between getting $130 for sure or taking the following gamble?
Explain major factor in politics of the medeterianian sea : Explain major factor in politics of the medeterianian sea. used iron weapons to to establish empire. invented a alphabet of 22 characters representing sound.
Development of an effective entity relationship model : Determine the steps in the development of an effective Entity Relationship Model (ERM) Diagram and determine the possible iterative steps / factors that one must consider in this process with consideration of the HR core functions and responsibili..
Statement showing the incremental cash flows : Prepare a statement showing the incremental cash flows for this project over an 8-year period. Calculate the payback period (P/B) and the net present value (NPV) for the project.
Keep a record of the total attendance : Keep a record of the total attendance and the total cash collected from ticket sales from all events happening at the Games.
Will you deduct this expense on your tax return : You are a sole proprietor. This year you incurred an expense of $152 for office supplies, but you have lost the receipt. Will you deduct this expense on your tax return? Explain your reasoning briefly.
The resource planning tool : The resource planning tool that enables us to identify who we need to carry out what tasks is called: a. A resource Gantt chart b. A resource matrix
Why did travis and bowie decied to hold the alamo : Why did travis and bowie decied to hold the Alamo rather then abandon it?
Describe different types of assets that need protection : IT Assets and Risk Management-Describe different types of assets that need protection

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  Need help building a vwd website

Need help building a VWD website. This website may not go live. I have little progress as a family tragedy has impeded my time for school.

  To develop a visual basic console application

The aim of the assessment is to develop a Visual Basic console application that performs a number of mathematical functions. The mathematics package will be menu driven, i.e. a number of options will be displayed, and the user will be able to input w..

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Develop vb-net application that includes arrays and loops

Develop a VB.NET application that includes arrays, loops, and IF statements to do the following. Your output must also display the number of applicant(s) being interviewed.

  Visual basic program to accept numeral values

Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.

  Write a visual logic program to accept series of number

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd