
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

using namespace std; class chemical { char nature[100]; char name[100]; float quantity; public: char* get_name() { return name; } char* get_nature() { return nature; } float& get_quantity() { return quantity; } };