The logic of a selection statement construct

Assignment Help Mathematics
Reference no: EM131094057

1. Demonstrate the ability to outline the steps needed to complete the project before beginning to program.

2. Demonstrate the ability to correctly code the logic of a selection statement construct.

3. Demonstrate the ability to use the Decimal data type.

4. Demonstrate the ability to use constants.

5. Demonstrate the ability to properly format display of currency values.

Methods:

1. This is your second graded project. It is worth 10% of your total grade.

2. Study and understand the problem that needs to be solved in this project. The problem description is at the top of this document.

3. Outline the steps that you need to follow in order to solve the problem. This outline must be turned in with your completed project. Include in this outline the variables and constants that you will need to declare, any calculations that will need to be performed, and, most importantly, the decision logic that needs to be implemented.

4. Draw a diagram of the form that you will need to create to solve the problem. This diagram must be turned in with your completed project. You might consider adding a label somewhere near the top of the form providing instructions to the user. E.g.: “Greengrocer Order Form: Enter # Pounds Of Each Item To Purchase”

5. In your CS account, create a new folder and name it Lab3. Your completed project must be saved in this folder. If the grader cannot find your work, it will not be graded and you will get a zero.

6. Create a new project and name it Greengrocer. Remember to save it in the Lab3 folder.

7. Change the file name to Greengrocer.vb

8. Change the name of the form to GreengrocerForm

9. Change the text property of the form to Organic Greengrocer

10. Complete the form according to the diagram that you drew in Step 4, following the following naming conventions, that you used in Lab2, for the Name property of the objects on the form. Recall that these are the same naming conventions for variables, and that all names must be unique.

11. The naming convention for constants is ALL UPPER CASE, separating words with an underscore.

12. After completing the form, double click the Button that you included on the form. This will generate the outline of the code that you will need for the click event of the button, and it will take you to the source code of your project.

13. You are now ready to begin programming.

a. Within the button event handler, first add, as comments, each of the steps  that you decided on in Step 4 above.

b. To each of these steps, now add the code needed to implement this functionality.

Reference no: EM131094057

Questions Cloud

Exemplary or a poor service experience : For the following below, treat a service problem from a consulting viewpoint 1. Give an example of either an exemplary or a poor service experience. Explain circumstance, issues, your observations, etc. about the service.
Explain impact of adventure based tourism in costa rica : In preparation for our term abroad to Costa Rica, students are asked to conduct pre-research on the economic impact of Adventure, Sport and Nature based tourism in Costa Rica.
Describe a wide variety of colors-from crimson : "Red" is the name you might use to describe a wide variety of colors-from crimson to magenta to pink. It is a convenient label, but it might not be specific enough in all cases.
Did tjx display a strategy in their response : Discuss how the timing of the response impacted stakeholders and the TJX corporate brand. Did TJX keep the needs of stakeholders a priority in their decision-making process in the case?
The logic of a selection statement construct : 1. Demonstrate the ability to outline the steps needed to complete the project before beginning to program. 2. Demonstrate the ability to correctly code the logic of a selection statement construct. 3. Demonstrate the ability to use the Decimal data ..
What is the bond price : Nungesser Corporation's outstanding bonds have a $1000 par value, a 9% semiannual coupon, 8 years to maturity, and an 8.5% YTM. What is the bond's price?
Estimate estate tax : Recently Jack has been in poor health and would like you to estimate his estate tax should he die this year. Jack estimates his taxable estate (after deductions) will be worth $5.4 million at his death.
High-rating for its low default risk : Are bond ratings in concept similar to your own personal credit ratings? The U.S. government is the world's largest borrower and currently enjoys a high-rating for its low default risk.
What must have been the firms revenues : A firm's income statement included the following data. The firm's average tax rate was 20%. What was the firm's net income? What must have been the firm's revenues? What was EBIT?

Reviews

Write a Review

Mathematics Questions & Answers

  Find a number in the interval

Find a number in the interval [1/2, 3/2] such that the sum of thee number and its reciprocal is as large as possible.

  Calculate the sample variance of the book costs

The book cost (in dollars) for one semester's books are given below for a sample of five college students. Calculate the sample variance of the book costs.

  What is the probability that one is green

What is the probability that one is green and the other is blue? A jar contains 8 red marbles, 9 blue marbles, and 6 green marbles

  Statistical studies have shown that intelligence

Statistical studies have shown that intelligence is not a predictor of math success; but motivation, study skills, and hard work are strong predictors. There is no such thing as a "math person" or a "nonmath person." Math is a matter of learni..

  Determining complex spectral theorem

Suppose that V is a complex (i.e. F = C) inner-product space. Prove that if N, an element of L(V), is normal and nilpotent, then N = 0.

  How deep can you expect to work without artificial light

How deep can you expect to work without artificial light?

  Find the stationary points and determine their nature

Find the stationary points and determine their nature of the following function: f (x, y) = x3 + y2 - 3x + 4y + 2. Sketch the region of integration and evaluate the integral: 0∫2 0∫√(4-x^2) x2y dy dx.

  What is the order in which you need to do the calculation

Using the formula NI = [U * (P-VCu)] - FC, what is the order in which you need to do the calculation?

  Simplify the expression

Problem 1: Simplify the expression (xΛ(yΛz)) V[x'V((xΛy) Λz')]

  What is the volume of the water in the swimming pool

A 5.00m X 12.0m swimming pool slopes linearly from a 1.10m depth at one end to a 3.80m depth at the other. What is the volume of the water in the swimming pool?

  Using the data in the excel file home market value

Using the data in the Excel file Home Market Value

  How large must a random sample with replacement be in order

A pollster wishes to know the percentage p of people in a population who intend to vote for a particular candidate. How large must a random sample with replacement be in order to be at least 95 % sure that the sample percentage is within one perce..

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