Week 5 Programming Lab - Broadway Ticket Group Discount ( Web Design With Visual Basic)
Submit Assignment
Complete the following case programming assignment. To upload
and submit the program and materials you created, click the Choose
File button to find and select your saved documents. Make sure that
the files are saved with your last name in the file name (Example:
ch4_case1_Jones.doc).
BROADWAY TICKET GROUP DISCOUNT
Based on the case project shown in Figure 5-100, create a
requirements document and a Use Case Definition document and then
design a Windows application. Before writing the code, create an
event-planning document for each event in the program.

Code :-
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles
Button1.Click
Dim TicketNo As Double = TextBox1.Text 'decelare ticket value
Dim value As String = ComboBox1.Text 'decelare age range
Dim ticketPrice As Long
If (TicketNo >= 1 AndAlso TicketNo <= 100) Then 'validate no
of tickets
Select Case value ' check range based on value using case
Case "1-8"
ticketPrice = 249 * TicketNo ' calculate the final ticket
amount
MessageBox.Show("Ticket Price = $" + ticketPrice.ToString())
Case "9-12"
ticketPrice = 219 * TicketNo
MessageBox.Show("Ticket Price = $" + ticketPrice.ToString())
Case "13-24"
ticketPrice = 199 * TicketNo
MessageBox.Show("Ticket Price = $" + ticketPrice.ToString())
Case "25-99"
ticketPrice = 169 * TicketNo
MessageBox.Show("Ticket Price = $" + ticketPrice.ToString())
Case Else
MessageBox.Show("Please Select valid range")
End Select
Else
MessageBox.Show("Please put ticket range 1-100 only")
End If
End Sub
End Class
Output :-



Source Code screen shot :-

Week 5 Programming Lab - Broadway Ticket Group Discount ( Web Design With Visual Basic) Submit...
CMSC 256 – Project 5 Programming Assignment 5 Note: When you turn in an assignment to be graded in this class, you are making the claim that you neither gave nor received assistance on the work you turned in (except, of course, assistance from the instructor or teaching assistants). Program: Ticketing System Points: 100 A set of classes is used to handle the different ticket types for a theater event. All tickets have a unique serial number that is assigned...
The following needs to be in C programming ! Outcomes: Demonstrate the ability to design a menu driven program. Demonstrate the ability to reuse previous code to create a new assignment. Demonstrate the ability to use appropriate program logic. Program Specifications: DESIGN and IMPLEMENT a menu driven program that uses the following menu and can perform all menu items: Enter a payroll record for one person Display all paycheck stubs Display total gross payroll from all pay records. Quit program...
CSC151 JAVA PROGRAMMING LAB #7 OBJECTIVES . . . In this lab assignment, students will learn: To get an overview of exceptions and exception handling • To explore the advantages of using exception handling • To declare exceptions in a method header • To throw exceptions in a method • To write a try-catch block to handle exceptions To develop applications with exception handling To use the finally clause in a try-catch block To write data to a file using...
Lab #7 CSE110 - Arizona State University Topics • Basic arrays Coding Guidelines • Give identifiers semantic meaning and make them easy to read (examples numStudents, grossPay, etc). • Keep identifiers to a reasonably short length. • Use upper case for constants. Use title case (first letter is upper case) for classes. Use lower case with uppercase word separators for all other identifiers (variables, methods, objects). • Use tabs or spaces to indent code within blocks (code surrounded by braces)....
Assignment 6 Due: Apr 12, 2019 at 11:59 PM A6 OOP 3 "PreferredCustomer Class" (need to create Person, Customer classes described in the previous problem) Access A6 from pdf assignment file. Turn in the following files: a6main.java Customer.java Person.java PreferredCustomer.java program compile and run screenshots design document (including UML) A6 7. Person and Customer Classes esign a class named Person with fields for holding a person's name, address, and telephone number. Write one or more constructors and the appropriate mutator...
Week 5 Case Study: 5.5 (Due week 7) Submit Assignment Due Jul 27 by 11:59pm Points 25 Submitting a text entry box or a file upload Create a non leading multiple choice answer type physician query for the following scenario. A 79-year-old female, Mrs. Carmichael, is admitted on June 15,2015, with a right hip fracture. Her hospital stay is 3 days long. Prior to surgery, her attending physician, Dr. Fellows, orders blood work to check her hemoglobin and hematocrit levels...
CS 215 Program Design, Abstraction, and Problem Solving Programming Project #3 INTRODUCTION The goal of this programming project is to enable the student to practice designing a program that solves a problem using a class and a linked-list and developing a C++ program to implement the solution. PROJECT TASKS 1. Read the problem definition below and then analyze it before designing a solution. You will produce a document (external documentation) of this definition, analysis, and design. 2. Write a C++...
C PROGRAM, A FOPEN FILE NEED TO BE CREATED Objective To review reading from a file. To use records (an instance of a struct) To use Dynamic Memory Allocation To create and use a dynamically allocated array of structs To use enumerated types in a useful manner (more info given on Discussion board!) The Problem Bad economic times has forced the UCF administration to think outside the box for alternative methods of income. Specifically, we now have a UCF lottery,...
Project 2 Sorting, CPU Time, and Big O Analysis Note: you will be using Microsoft Visual Studios 2019 as the compiler. This is an individual assignment. You will have lab time to work on this assignment as well as homework time. Each person will analyze two sorts. The first sort will be either bubble sort or insertion sort. The second sort will be either quick sort or merge sort. Create two projects, one for each sort in the given choices....
9:09 PM Fri Sep 27 Ass1.pdf 9/21/2019 Ass1 Submit Assignment Due Sunday by 11:59pm Points 5 Submitting a file upload File Types zip Goals: Write a C++ class with separate.h and.cpp file, use partially filled arrays, Create a new class called Library that uses a private string array to store the list of books The starter code can be downloaded from https://github.com/pisan 342/ass 1-starter (https://github.com/pisan 342/ass 1-starter) You need to submit ass1.zip with the following files in it. Put all...