Fill in Order Details

  • Submit paper details for free using our simple order form

Make Payment Securely

  • Add funds to your account. There are no upfront payments. The writer will only be paid once you have approved your paper

Writing Process

  • The best qualified expert writer is assigned to work on your order
  • Your paper is written to standard and delivered as per your instructions

Download your paper

  • Download the completed paper from your online account or your email
  • You can request a plagiarism and quality report along with your paper

c programming 109

This lab relates to the following Skill Outcomes:

  • Students will apply the steps in the program development process
  • Students will implement object-oriented programming through predefined classes
  • Students will develop graphical user interface applications using appropriate controls
  • Students will implement primitive data types for variables, constants, fields, and lists
  • Students will select appropriate arithmetic operators
  • Students will analyze, design, implement, test, and debug domain-specific applications which demonstrate basic computation, input/output, control structures, operators, input validation, and methods

This lab covers material from Chapter 7 and Appendix B as well as concepts covered in previous chapters. The purpose of this lab is to demonstrate the use of a list to store and manipulate values entered by the user as well as to implement ToolTips, a ComboBox, and a Menu System.

Create an application that keeps track of the total donuts sold, the average donuts sold, and the total of donut sales through the implementation of a List (Do NOT use an Array).

* The form should contain a menu system with the following menu items (the menu items in the Tools menu are all related to the simple combo box for the donut types):

File Tools Help
Exit Add Donut Type About
Remove Donut Type
Clear All Donut Types
Display Donut Type Count

An example is provided below of the form and required message boxes:

Form1 Message Box for Display Donut List Button Message Box for About menu item (use YOUR name)

image001.png

image003.png

image005.png

* Use a Simple Combo Box to hold the donut types initially populated with Chocolate and Glazed. Make sure and keep the list sorted in ascending alphabetic order as donut types are added (hint: see Sort property of the Simple Combo Box).

Add Donut Type: The user should be able to add to the combo box. Do not allow a blank donut type to be added to the combo box. Display an appropriate message if this occurs. Focus should be returned to the text box portion of the combo box. This should be coded in the Add Donut Type menu item click event handler.

Remove Donut Type: The user should be able to remove a donut type from the combo box. Display an appropriate error message if the user selects Remove Donut Type without first selecting a donut type. This should be coded in the Remove Donut Type menu item click event handler.

Clear All Donut Types: The user should be able to clear all donut types from the combo box. This should be coded in the Clear All Donut Types menu item click event handler.

Display Donut Type Count: The user should also be able to display the count of donut types in the combo box. This should be coded in the Display Donut Type Count menu item click event handler.

* The About menu item under the Help menu should display Your Name in a Message Box. This should be coded in the About menu item click event handler.

* The Exit menu item under the File menu should exit the application. This should be coded in the Exit menu item click event handler.

* Implement a List of whole-numbers (no decimal places) to store the number of donuts entered by the user (Do NOT implement an Array).

* The Calculate button adds the individual number of donuts to the List, calculates the Total of Donuts Sold, Average Donuts Sold, and Total of Donut Sales. The Calculate button should then clear and set the focus to the Number of Donuts text box for the next user entry.

* The Display Donut List button should display the items in the List using a Message Box. The Number of Donuts text box should be cleared and focus set back to it for the next user entry.

* The Clear Donut List button should clear the List, as well as clear the input and output controls and set the focus to the Number ofDonuts text box. It should also set the donut type combo box back to unselected. Counters and accumulators should also be reset where appropriate. DO NOT CLEAR THE DONUT TYPE COMBO BOX.

* Include the following Data Validation and display an appropriate message (Message Box OR ErrorProvider component may be used) and clear and set the focus to the control causing the error (a nested if statement is recommended):

  • Number of Donuts must be a valid data type (i.e., TryParse method)
  • Number of Donuts must be greater than zero (accuracy validation)
  • User must select an item from the donut type combo box (text box portion of combo box should not be blank)

* Add ToolTips to ALL the buttons with descriptive text

* ALL donut types cost .60 (assume all donut types are the same price)

The program must include standard features of a Windows application including:

  • Change the Text property of the form as indicated on the sample form
  • Appropriate naming conventions for all controls
  • Buttons with appropriate name and keyboard access key
  • AcceptButton and CancelButton properties should be assigned to the Calculate and Clear Donut List buttons respectively
  • Appropriate naming conventions and data type declarations for variables

2. Name your project using the naming convention provided in the syllabus: CourseNumber_LastNameFirstInitial_LabXX (e.g., 3333_SharpJ_Lab07)

3. Include the appropriate identification information per the course syllabus using comment statments at the top of your project code (see p. 102, 2.8 Comments, Blank Lines, and Indentation): Name, 9-Digit ID, Due Date, Date Submitted, and Brief Description of Program.

4. You will need to zip/compress the project folder using an appropriate zip/compression utility such as the one found in the Windows or WinZip, etc. Please DO NOT submit .rar (archive) files.

5. Attach and submit the zipped/compressed project folder file under the Lab 07 link under Assessments in the Chapter 7 Module.

WHAT OUR CURRENT CUSTOMERS SAY

  • Google Rating
  • Sitejabber
  • Trustpilot
Zahraa S
Zahraa S
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Stuart L
Stuart L
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!
Mindi D
Mindi D
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.
Samuel Y
Samuel Y
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.
Cindy L
Cindy L
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
Got an A and plagiarism percent was less than 10%! Thanks!

ORDER NOW

Consider Your Assignments Done

“All my friends and I are getting help from eliteacademicresearch. It’s every college student’s best kept secret!”

Jermaine Byrant
BSN

“I was apprehensive at first. But I must say it was a great experience and well worth the price. I got an A!”

Nicole Johnson
Finance & Economics

Our Top Experts

————-

See Why Our Clients Hire Us Again And Again!


OVER
10.3k
Reviews

RATING
4.89/5
Avg Rating

YEARS
12
Experience

Elite Academic Research Promises You:


Always on Time

If we are a minute late, the work is on us – it’s free!

Plagiarism-free

If the work we produce contains plagiarism we’ll pay out a £5,000 guarantee.

Quality

Providing quality work is core to our beliefs, which is why we will strive to give you exactly that, and more!

Written to Standard

All of our assignments go through a stringent quality checking process from start to finish.

Success Guarantee

When you order form the best, some of your greatest problems as a student are solved!

Reliable

Professional

Affordable

Quick

Using this writing service is legal and is not prohibited by any law, university or college policies. Services of Elite Academic Research are provided for research and study purposes only with the intent to help students improve their writing and academic experience. We do not condone or encourage cheating, academic dishonesty, or any form of plagiarism. Our original, plagiarism-free, zero-AI expert samples should only be used as references. It is your responsibility to cite any outside sources appropriately. This service will be useful for students looking for quick, reliable, and efficient online class-help on a variety of topics.