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 maximum in the region

F(x,z) = -2xz + x^3 + z^3 Find a maximum in the region where x and z are both less than or equal to 1 Now consider the function is from - to + infinity. Is there a maximum?

  Develop a prototype using a scripting language

Develop a prototype using a scripting language, such as Ruby or Python, evaluate this prototype with software engineers and other stakeholders, then review the system requirements

  Find the average cost and the marginal average cost function

What is the marginal cost when x = 1000 and 2000? Find the average cost function C‾ and the marginal average cost function C‾'.

  What is the probability that a randomly selected automobile

What is the probability that a randomly selected automobile manufactured by the company will have a defective microprocessor?

  Determine the time it takes the ball to hit the ground

A ball is thrown vertically upwark with an initial velocity of 48ft/sec and a height of 8ft, then its height s(t) from the ground level at time t is given by.

  What overall dimensions will minimize the amount of paper

You are designing a rectangular poster to contain 50 in^2 of printing with a 4-in. margin at the top and bottom and a 2-in. margin at each side. What overall dimensions will minimize the amount of paper used?

  Continuity and pointwise operations of functions

Let f:R->R be a function that satisfies f(x+y) = f(x)+f(y) for all x,y in R. Suppose that f is continuous on R and that f(1)=k. Prove that f(x)=kx for all x in R.

  Construct a truth table for given relationconstruct a truth

construct a truth table for given relation.construct a truth table for each of the following a a nu b lambda a nu

  Are any of the playing times considered unusual in sense of

a random sample of song playing times in seconds is as follows242nbspnbsp 231nbspnbsp 220nbspnbsp 213nbspnbspnbsp

  Exercising the crisis management plan

How can an organization change their culture to embrace crisis management ? If you were the crisis management team leader, how would you encourage participation of your crisis management team in reviewing and exercising the crisis management plan..

  Find the least-squares regression line for the data use

the table gives the retail value of a 2004 corvette z06 and the miles driven. source kelly blue book website november 3

  Explaining your interpretation when the slope is positive

The number of parks, y, being built in a city is a linear function of time, x, and is graphed on a rectangular coordinate system. Write a paragraph describing your interpretation when the slope is positive

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