The Donut Shoppe sells four varieties of doughnuts: Glazed ($.75), Sugar ($.75), Chocolate ($.75), and Filled ($.95).
Question:
The Donut Shoppe sells four varieties of doughnuts: Glazed ($.75), Sugar ($.75), Chocolate ($.75), and Filled ($.95). It also sells regular coffee ($1.50) and cappuccino ($2.75). The store manager wants you to create an application that displays a customer’s subtotal, 4.5% sales tax, and total due. Create the application, using the following names for the solution and project, respectively: Donut Solution and Donut Project. Save the application in the VB2015\Chap07 folder. Create the interface shown in Figure 7-54. The image for the picture box is stored in the VB2015\Chap07\ DonutCoffee.png file. When coding the application, use one function to calculate and return the cost of the doughnut, and use another function to calculate and return the cost of the coffee. Use a third function to calculate and return the sales tax. Test the application appropriately.
Donut Shoppe Our doughnuts and coffee are the best in town! Doughnut choices Glazed (5.75) Subtotal: O sugar ($.75) Sales tax: O Chocolate (5.75) Total due: O Eilled (S.95) Coffee choices Calculate None Regular ($1.50) Exit Cappuccino ($2.75)
Step by Step Answer:
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Donut Project Donu...View the full answer
Students also viewed these Computer science questions
-
Jefferson Sales wants you to create an application that displays a salespersons monthly commission, given his or her monthly sales and commission rate (entered in decimal form). The commission is...
-
Shopper Stoppers wants you to create an application that displays the number of reward points a customer earns each month. The reward points are based on the customers membership type and total...
-
The Donut Shoppe sells four varieties of doughnuts: Glazed ($1.05), Sugar ($1.05), Chocolate ($1.25), and Filled ($1.50). It also sells regular coffee ($1.50) and cappuccino ($2.75). The store...
-
At December 31, 2016, Pioneer Corporation reported the stockholders' equity accounts shown here (with dollar amounts in millions, except per-share amounts). Common stock $3.00 par value per share, 22...
-
Suppose that {Va}aA is a collection of nonempty open sets in Rn which satisfies Va V = for all in A. Prove that A is countable. What happens to this result when open is omitted?
-
A hamster of mass 0.100 kg gets into its exercise wheel and starts to run at t = 0. After t = 0.800 s, the wheel turns with a constant rotational frequency of 1.00 Hz. What is the tangential...
-
Air enters a 0.5 -ft inside diameter duct with \(p_{1}=20\) psia, \(T_{1}=80^{\circ} \mathrm{F}\), and \(V_{1}=200 \mathrm{ft} / \mathrm{s}\). What frictionless heat addition rate in Btu/s is...
-
Jaska Sports Authority purchased inventory costing $22,500 by signing a 6% short-term note payable. The purchase occurred on July 31, 2014. Jaska pays annual interest each year on July 31. Journalize...
-
1. From the HRM perspective, what are the implications of managing labor relations in the Public Sector? 2. Discuss whether unions are still relevant and necessary in today's work environment. What...
-
Alice has invented a new card game to play with Bob. Alice made a deck of cards with random values between 1 and 52. Bob picks 5 cards. Then, he has to rearrange the cards so that by utilizing the...
-
In this exercise, you modify one of the Concert Tickets applications from this lesson. Use Windows to make a copy of the Concert Solution-Sub folder. Rename the copy Modified Concert Solution-Sub....
-
In this exercise, you modify one of the Concert Tickets applications from Lesson A. Use Windows to make a copy of the Concert Solution-Function folder. Rename the copy Concert Solution-Intermediate....
-
Suppose that f: Rn Rn and that a K, where K is a compact, connected subset of Rn. Suppose further that for each x K there is a x > 0 such that f(x) = f(y) for all y Bx(x). Prove that f is...
-
At the 18 km cruising altitude of Concorde, a passenger aircraft that flew at twice the speed of sound, the temperature was -57C. What was the Concordes cruising speed?
-
Home professionals like realtors use ultrasonic measuring tools to quickly measure the size of rooms. These instruments work by sending out a pulse of ultrasonic sound, then measuring the time it...
-
The vuvuzela is a simple horn, typically 0.65 m long, that fans use to make noise at sporting events. What is the frequency of the fundamental note produced by a vuvuzela?
-
Referring to Problem 4A.9, at what price would the bond sell if U.S. savings bonds were paying 1.5% interest compounded annually? Compare your answer to that of the preceding problem. Data from...
-
When you speak, your voice sounds 10 dB louder to someone standing directly in front of you than to someone at the same distance but directly behind you. What is the ratio of the intensity of your...
-
What are the two components of a company's income tax provision? What does each component represent about a company's income tax provision?
-
(a) Prove that form an orthonormal basis for R3 for the usual dot product. (b) Find the coordinates of v = (1, 1, 1)T relative to this basis. (c) Verify formula (5.5) in this particular case. 48-65...
-
Is the bucket-sort algorithm in-place? Why or why not?
-
Jonathan has a comparison-based sorting algorithm that sorts the first k elements of a sequence of size n in O(n) time. Give a big-Oh characterization of the biggest that k can be.
-
Of the n! possible inputs to a given comparison-based sorting algorithm, what is the absolute maximum number of inputs that could be correctly sorted with just n comparisons?
-
Establishment Industries borrows $1,040 million at an interest rate of 7.2%. It expects to maintain this debt level into the far future. Establishment will pay tax at an effective rate of 38%. What...
-
The Presentation Layer ER Diagram shown in conjunction with part a below is focused around students who participate in sports and also enroll in classes. Please base your answer to this question on...
-
The current price of one share of XYZ stock is 56.50. A long straddle (one long call and one long put) on the stock with a strike price of K and one year to expiration has a total cost of 12.00. The...
Study smarter with the SolutionInn App