Reference no: EM13778300
For this assignment you will create a program for calculating and displaying the receipt for a furniture manufacturer.
Part 1
A furniture manufacturer makes two types of furniture - chairs and sofas. The cost per chair is $350, the cost per sofa is $925, and the sales tax rate is 5%. The customer name is input with the last name first, followed by a comma, a space, and the first name.
- After the data on the left side of the following figure are entered, the user can display an invoice in a list box by pressing the Process Order button.
o The button click event procedure for the Process Order button will perform the following tasks:
- Declare all variables of appropriate types to store inputs, intermediate results, and final result.
- Retrieve inputs from the text boxes.
- As long as the customer name is not input correctly (last name, followed by a comma, a space, and the first name), show an error message in a message dialog box and ask the user to enter the name in the correct format.
- As long as any of the text boxes where the user is expected to enter inputs are left blank, show an error message in a message dialog box prompting the user to enter that information.
- Call a function procedure named GenerateInvoiceNumber and pass the necessary information to that function procedure. Store the result returned by that function in a variable named InvoiceNumber.
- Call a function procedure named ReverseName and pass the necessary information to that function procedure. Store the result returned by that function in a variable named RevName.
- Calculate cost, sales tax, and total cost
- Format and display the invoice in the list box (use zones and pay attention to currency formatting).
o Define a function procedure named GenerateInvoiceNumber that will generate and return an invoice number consisting of the capitalized first two letters of the customer's last name, followed by the last four digits of the zip code.
o Define a function procedure named ReverseName that will reverse the customer name (last name, followed by a comma, a space, and the first name) in the proper order (first name, a space, and last name). It will return the properly ordered name to the calling procedure.
- The user can click on the Clear Order Form button to clear all text boxes and the list box.
- The user can click on the Quit button to exit the program.
Write an essay about the case for birthright citizenship
: Write a argumentative essay about article "The Case for Birthright Citizenship" by Linda Chavez.
|
Communications-expressing feelings-having understanding
: What do you think are the biggest adjustments a person has to make when entering a marriage? Can you think of any strategies that could be used to minimize the stress associated with these adjustments?
|
The responsibility of the cio
: Do we really need a major change in the way the IS function is structured...are the necessary changes just minor modifications to accommodate normal growth in computer uses...what are your thoughts / research in this regard?
|
Communication and negotiation strategy
: What cultural and ethnic considerations should steer your team's communication and negotiation strategy? How would you integrate those considerations into your negotiation?
|
Define a function procedure named reverse name
: Define a function procedure named GenerateInvoiceNumber that will generate and return an invoice number consisting of the capitalized - Define a function procedure named Reverse Name that will reverse the customer name.
|
Rationale for and potential bias in qualitative research
: A rationale for using qualitative research methods instead of quantitative research. A statement of how the worldviews and paradigms of the researcher may create bias when applying qualitative research to the given scenario.
|
Develop a system security plan for an information system
: Develop a sample System Security Plan for an information system. Select and incorporate appropriate management, technical, and operational security controls into a system security plan.
|
Sympathetic division of the autonomic nervous
: A work-related accident left Bob with a paralyzed left arm and an inability to recognize the left side of his visual field. Bob's condition is called:
|
Develop the flow diagram
: Develop the flow diagram of the information and any control elements needed to ensure proper access for the information.Submit a draft PowerPoint presentation with the following elements
|