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

  Application of differential calculus in economics

Application of differential calculus in economics: Profit, Cost and Revenue function - What is the maximum profit if each item is sold for $7? (Assume you sell every thing you produce.)

  What was the speed on each part of the trip

during the first part of a trip, a canoeist travels 100 miles at a certain speed. the canoeist travels 25 miles on the second part of the trip at a speed of 5 mph slower. the total time for the trip is 4 hrs. what was the speed on each part of the..

  What is the density of the iron

a sample of iron has a mass of 195 grams and a volume of 25 cubic centimeters. what is the density of the iron?

  Given function is increasing or decreasing

Find the intervals on which the given function is increasing or decreasing and create a table showing it.  No graph is necessary but a table is. Please show steps because I'm totally confused on this.   (a) f(x) = -x^2 + 16

  What is the final temperature of the water

if 150 grams of water at 30 degrees celsius are mixed with 200 grams of water at 100 degrees celsius, what is the final temperature of the water?

  What is smallest number of people that could be in group

One day, Jamal and his friends had lunch while sitting at tables of 14. Another day, they had lunch at tables of 17. What is the smallest number of people that could be in the group?

  What is the baseballs momentum after being pitched

a 0.151 kg baseball is pitched with a velocity of 43.1 m/s. ignoring air resistance what is the baseballs momentum after being pitched.

  Determining platonic solids

You are experimenting with designs for a fruit bowl with a square base. The general idea is to attach congruent regular polygons to the sides of the base and "fold them up" until the closest edges of adjacent polygons meet.

  Find the number of goats on the island

to find the number of goats on the island at the start of the nth year.

  Formulate the initial-value problem

Formulate the initial-value problem describing the motion of the object under each of the following sets of conditions. Set x equal to the downward displacement from equilbrium.

  Fit a linear regression model and plot your estimates for

simulate n 104 outcomes from the modely -2 x -x2 epsilonwhere x u0 1 and epsilon n0 0.12 independently. from your

  What is the diameter of the semicircle

Suppose that 166 ft of fencing are used to enclose a corral in the shape of a rectangle with a semicircle whose diameter is a side of the rectangle. What is the diameter of the semicircle and the side of the rectangle?

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