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

  Write a program that asks the user to respond to a question

Write a program that asks the user to respond to a question by entering either 1 for yes or 2 for no.

  Write visual logic program to accept number til negative

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.

  Write visual logic program for customer-s bank account

Write a visual logic program to aid balance a customer's bank account. the program must read numeric values that represent banking transactions.

  Simple calculator program

Build a simple calculator program with an Access form that allows a user to enter numbers in two separate text boxes. The Access form should have four separate command buttons for adding, subtracting, multiplying, and dividing. Write code in each com..

  Design vb project to calculate checking account balance

Design vb 2008 project to calculate a checking account balance. form: include radio buttons to indicate the type of transaction: deposit, check, or service charge.

  To demonstrate completing and delivering a prototype rad

to demonstrate completing and delivering a prototype rad system using oops capabilities of vb.net. prepare a vvb boards

  How to program in visual basic four square buttons

How to program in visual basic four square buttons arranged in a rectangular array each button says push me... when user clicks on a button the button disappears the other three come or remain visible

  Create a visual basic application

Create a visual Basic application that asks the user for two different numbers through text boxes - Then compare the numbers to see which one is higher once they push a button.

  Effectiveness of the design and proposed program

Evaluate the overall design of the application and draw appropriate conclusions as to the effectiveness of the design and proposed program - Discuss and justify a means of representing the results of the calculations via an appropriate medium/objec..

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

  Basics of visual design

Focus on Web Design II: This assignment is part of the module MODULE 4: BASICS OF VISUAL DESIGN and hasn't been unlocked yet. Completion Prerequisites. The following requirements need to be completed before this page will be unlocked: MODULE 4: BASIC..

  Help an elementary school student learn multiplication

Write a program that will help an elementary school student learn multiplication. Use a Random object to produce two positive one-digit integers. The program should prompt the user with a question, such as "How much is 6 times 7?"

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