1. Trang chủ
  2. » Địa lí lớp 10

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

1 8 0

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 1
Dung lượng 30,3 KB

Nội dung

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Ừ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w