Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use of Delegate and event is the main part of question Lablb.doc . Protected View - Saved to this PC t References Mailings Review View

image text in transcribed
image text in transcribed
Use of Delegate and event is the main part of question
Lablb.doc . Protected View - Saved to this PC t References Mailings Review View Help Foxit Reader PDF Search ternet can contain viruses. Unless you need to edit, it's safe to stay in Protected View Enable Editing Student Number: [Please take appropriate screenshot that covers all the aspects of the application you are developing for this lab assignment and paste it to the end of the Word document that you created for Lab Wa. Copy the code in the same document after the screen shot. Submit the document (ONE MS Word document) in the Centennial drop box named Lablb. Do not submit your document in any format other than Microsoft Word document. Do not up your document. For each day of late submission, a 5% per day (counted after the due date) will be deducted from your received grade. After 3 days, no submissions will be allowed and graded] For this lab, you must use a custom-made event that will be raised (or, triggered) as the car inventory (ie, the number of cars at hand) reaches the reorder level. 1. Develop a C# console application that keeps track of car inventory and issues a notification to the user as the number of cars in stock reaches the reorder level in this case set the reorder level to 5.) Follow the instructions as stated below! When you run the program, it greets you with an appropriate message. I Then it asks you how many cars you currently have in stock. Then it asks you how many cars you sold It gives you a chance to enter the number of cars you sold till the stock reaches the reorder level in which case it issues a proper notification to the user to order more cars For your convenience, a test run of the application is provided in the next page. References Mailings Review View Help Foxit Reader PDF Search et can contain viruses. Unless you need to edit, it's safer to stay in Protected View Enable Editing file:///G/COMP212_lab1_2/COMP212 Lab1_2/bin/Debug/COMP212 Lab1 2.EXE Melcome to COMP 212 INUENTORY EVENT PROGRAM OF SYED YAMIN, How many cars are in stock currently? 20 How many cars did you sell? 3 How many cars did you sell? 4 How many cars did you se 11? 2 How many cars did you sell? 5 How many cars did you se 117 4 The inventroy is getting low. Please order nore carst

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions