Implement in c++ Design an invoice class that has the following fields o Name, Item id , price, quantity Support setter and getter for price and another attribute 2 constructor default one , and another one takes all the parameters Provide 2 function o Get total price , print in file o Print in file print the attributes comma separated in file Void print_in_file(char [] file_path): Provide an extra attribute called category of price o Category of price is auto generated depending on the value of price o Expensive price if >10000 o Normal if <10000 and >1000 o Cheap if <1000
anes1 0 Newbie Poster
rproffitt 2,701 https://5calls.org Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.