Lập trình hướng đối tượng: Assignment 1

1 8 0
Lập trình hướng đối tượng: Assignment 1

Đang tải... (xem toàn văn)

Thông tin tài liệu

After check validation of all data, save this information into file that was inputted in task 2.1. Task 2.3:[r]

(1)

Assignment 1 Task 1:

Design a C++ class to hold information of a product The information includes Product Code, Product Name and Unit Price Product Code contains exactly characters Product Name contains no more than 25 characters Unit Price is double type with numbers after decimal point

Tasks 2:

Write a C++ program to the below tasks: Enter file name

2 Add new product List all products

Tasks 2.1:

Allow user to input name of file that contains information of all products

Task 2.2:

Allow user to add new information of one product After check validation of all data, save this information into file that was inputted in task 2.1

Task 2.3:

Ngày đăng: 09/03/2021, 05:24

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan