75%(20)15 out of 20 people found this document helpful
This preview shows page 15 - 19 out of 31 pages.
if onionRadioButton.getChecked() thenorderPrice = ONION_AMT * poundsTextBox.getText()endifendifendiforderAmtLabel.setText(orderPrice)screen1.remove()screen2.display()returnstartscreen1.display()stoppublic void exitRoutine()screen2.remove()return15
Programming Logic and Design, 8eSolutions 12-8.Design the wireframes and storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for clients of Larry’s Lawn Service.Allow clients to choose the size of their yard so they can be charged accordingly. For example, a lot that covers less than one-third of an acre costs $50 per service call; a lot that covers one-third to two-thirds of an acre costs $72.50 per service call; and a lot that covers more than two-thirds of an acre costs $84 per service call. Also, allow clients to choose a schedule of weekly or semiweekly lawn maintenance. After the customer clicks a Select button, display the price of the service per week. Note that semiweekly service comes with a 10 percent discount.16