TAILIEUCHUNG - Programming in C# - Classes and Methods

Assignment Question Noertis Pharma Ltd. is one of the top five pharmaceutical companies in Sweden. They maintain records to store medicines, and sales details. Earlier, they used to store all these information in ledgers and files. In the recent years, they have found that this approach of storing information takes up a lot of physical space. | Programming in C Assignments Classes and Methods No. Assignment Question 1. Noertis Pharma Ltd. is one of the top five pharmaceutical companies in Sweden. They maintain records to store medicines and sales details. Earlier they used to store all these information in ledgers and files. In the recent years they have found that this approach of storing information takes up a lot of physical space. In a move to conserve space and preserve data long term as well as reduce the effort required to maintain the data Noertis Pharma has decided to shift to an automated data management system using .NET and C . You are recruited as one of the chief programmers for this task and need to implement the following 1. Create classes for Medicine and Sales. Medicine details that will be stored are Medicine Code Medicine Name Manufacturer Name Unit Price Quantity On Hand Manufactured Date Expiry Date Batch Number Sales details that are to be stored include Medicine Code Quantity Sold Planned Sales Actual Sales Region 2. Each class should use the concept of constructors to initialize the data. 3. Accept method in each class should accept the data from the input and store the same into respective fields. 4. A method Print will be written in Medicine class to display all the details of medicines. Another method of the same name should be written for a different action to display quantity on hand for a particular medicine whose code will be supplied to the method. Yet another Print should be written to display expiry date and manufactured date for a medicine whose code and name are supplied. 5. A method Display will be written in Sales class to display all the details of sales done. Another method of the same name should be written for a different action to display difference between actual sales and planned sales for a particular medicine whose code will be supplied to the method. 2007 Aptech Ltd Version Page 1 of 2 Programming in C Assignments 6. Assuming that a fresh order of .

TÀI LIỆU MỚI ĐĂNG
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.