Write a program to create an invoice to the supplier

Assignment Help Visual Basic Programming
Reference no: EM13859609

PROJECT OBJECTIVES

After completing this project, you should be able to:

- Write programs in Visual Basic while being guided by the six steps of the program development cycle: analyze the problem, design a solution, choose the interface, write code, test and debug your solution, and document code.

- Write Visual Basic programs that use the If and Select decision­making blocks.

- Develop Visual Basic applications that incorporate "conditional" or True/False statements that "steer" the decision or data flow of the application.

PROJECT DESCRIPTION

The Programming Project provides you with a chance to develop and display your computer programming skills using Visual Basic. The project consists of four (4) programming problems based on programming projects in your textbook. For each problem you will apply the six steps of the program development cycle and submit a document detailing your work as well as the Visual Basic code you write.

Programming Problem 1: Medical Rentals for Patients

Nutritional Associates of New Jersey offers a rental service for patients of the practice. Full day rentals cost one­and­a­half times half­day rentals. Write a program that displays the information provided in Table 1 below in a list box when an appropriate button is clicked on and displays a bill in another list box based on the item number and time period chosen by a patient. The bill should include a $30.00 deposit.

Table 1. Nutritional Associates of New Jersey Device Rentals

Piece of Equipment   Half Day   Full Day 
Blood pressure monitor   $16.00   $24.00 
Heart rate monitor   $12.00   $18.00 
Daily activity monitor   $20.00   $30.00 

Programming Problem 2: Billing Report

Nutritional Associates of New Jersey is in need of a brief billing report for patients. Write a program to generate a patient bill from the patient billing items found in Table 2 below. Use the form in Figure 4.62 of the Visual Basic text as a model, and write the program so that each group box is invisible and becomes visible only when its corresponding check box is checked. After the button is clicked, the amount of the bill should be calculated.

Note: The Checked property of the first radio button in each group should be set to True in its Properties window. This guarantees that a selection is made in each visible group box. Of course when the bill is calculated, only the visible group boxes should be considered; see Figure 4.63 in the Visual Basic text.

Table 2. Nutritional Associates of New Jersey Billing Report Items

Blood work   Nutritional Evaluation   Nutritional Journals 
Basic panel ($79.99)  Bronze ($199.99)   Food intake journals ($9.99) 
Basic panel + advanced cholesterol testing ($129.99)  Silver ($299.99)   Food intake and activity journal ($14.99) 
Basic panel + advanced cholesterol testing + advanced  Gold ($399.99)   
sugar testing ($179.99)  

Basic panel + advanced cholesterol testing + advanced sugar testing + vitamin absorption testing ($229.99) 

Programming Problem 3: Supply Orders

Nutritional Associates of New Jersey needs to place purchase orders for all rental equipment and all patient journals. The medical supply vendor provides the following equipment to Nutritional Associates:

1. Blood pressure monitor kits @ $129.00
2. Heart monitor kits @ $95.00
3. Activity monitor @ $109.00
4. Food intake journal @ $4.99
5. Food intake and activity journal @ $9.99

All items purchased by Nutritional Associates of New Jersey are charged a 7% sales tax rate.

Write a program to create an invoice to the supplier for individual patient supply orders (see Figure 5.40 in the Visual Basic text for a model). After the user enters the data on the left side of Figure 5.40, the user can display an invoice in a list box by pressing the Process Order button. The user can click the Clear Order Form button to clear all text boxes and the list box, and can click on the Quit button to exit the program.

The invoice number consists of the capital letters "NA" followed by a "­-" and then the capitalized first two letters of the customer's last name followed by the last four digits of the zip code. The customer name is input with the last name first, followed by a comma, a space, and then the first name. However, the name is displayed in the invoice in the proper order. Take note of the data entry box for City, State, Zip. The user will enter the city name, followed by a comma, the state name, followed by a comma, and finally the zip code.

The generation of the invoice number and the reordering of the first and last names should be carried out by Function procedures. The invoice should include the following: Nutritional Associates of NJ (Patient Name: first last) as the name header.

Programming Problem 4: Caffeine Absorption

Nutritional Associates of New Jersey stresses to their patients the effects of caffeine on the body. After caffeine is absorbed into the body, 13% is eliminated from the body each hour. Assume a person drinks an 8­oz cup of brewed coffee containing 130 mg of caffeine, and the caffeine is absorbed immediately into the body. Write a program to compute the following values. See Figure 6.64 in the Visual Basic text.

a. The number of hours required until 65 mg (one­half the original amount) remain in the body.

b. The amount of caffeine in the body 24 hours after the person drinks the coffee.

c. Suppose the person drinks a cup of coffee at 7:00 a.m. and then drinks a cup of coffee at the end of each hour until 7:00 a.m. the next day. How much caffeine will be in the body at the end of the 24 hours?

Verified Expert

The zip files contains the solution with all required steps and include all the related files.

Reference no: EM13859609

Questions Cloud

Pricing strategy presentation : Take the data from San Francisco Bread Company and run the regression as defined in the case study provided. Verify your results with those presented in the book.
Companies have a significant amount of investment : Companies have a significant amount of investment in long-lived assets
Marshallian demand functions scale : Are the Marshallian demand functions scale invariant (i.e. homogeneous of degree zero)? Are the goods Giffen?
Researching what is known as multichannel : Researching what's known as multichannel, omni channel, or hybrid retailing models where retailers blend e-commerce and brick and mortar retailing. It's also called "clicks and mortar," As for the pages, remember it's an outline, so it shouldn't b..
Write a program to create an invoice to the supplier : Write programs in Visual Basic while being guided by the six steps of the program development cycle: analyze the problem, design a solution, choose the interface, write code, test and debug your solution, and document code.
What are the responsibilities of the committee? : What are the responsibilities of the committee?
Question regarding the maximum price the airline : What is the maximum price the airline should be willing to pay for a new A-320neo? Note:  This computation is easiest to perform using MS Excel. The Excel computations may be copied and pasted into MS Word.
Summary or review about this film - kelly loves tony : Watch the Film/video: Kelly Loves Tony. and write an outline. I don't have the resource for this film, you can search the summary or review about this film to do this assignment
Values of the price level : Assume that the long-run aggregate supply curve is vertical at Y = 3,000 while the short-run aggregate supply curve is horizontal at P = 1.0. The aggregate demand curve is Y = 2(M/P) and M = 1,500. If the economy is initially in long-run equilibri..

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Declare an array to store five values

Write the Visual Basic code to for the following problem. Declare an array to store five values; they could be decimal numbers

  Gas pumpa gas pump calculates the cost of gas at a local

gas pumpa gas pump calculates the cost of gas at a local gas station. the station charges 2.69 per gallon for regular

  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.

  Prepare a vb application for the subsequent math application

Prepare a VB application for the subsequent Math Application - The problems displayed for the students into two levels.

  Develop a bankaccount windows form project

Develop a "BankAccount" windows form project, which will allow user to

  Develop a simple application for the ice-cream games

Develop a simple application for the Ice-Cream Games, which captures information about athletes and populates a list box.

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

  Design for the gui application

Decide on an appropriate design for the GUI application which will be SELF Contained and allow the user to select and run the various calculations

  Technical project designing vb applications across multiple

technical project designing vb applications across multiple platformsthis assignment will contain two 2 parts written

  To use the watch window to evaluate expressions

To use breakpoints to pause program execution and allow you to examine the values of variables. To set, disable and remove breakpoints

  Repetition structures in visual basic

Repetition Structures in Visual Basic

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

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