Digital studio for editing and printing photos needs to keep information of all its customers’ orders. Each order has a unique number. This number is generated automatically and once established can’t be modified. In addition, the name of the customer, the number of photos for print, invoice and printing type [instant or regular] are kept in the system.
Once a customer come to the studio and takes a photo/s, he/she gives the specification of the order including printing process type. And the system will generate an invoice (this means that the amount paid will be calculated depending on the number of photos, each photo cost 50 SR and add 200SR to the total if it is instant printing
Write a program to implement the following tasks:
1. Take order specification.
2. Generate an invoice.
3. Use non class member function which takes object/s as argument to compare printing
type of two customers� orders and return the number of the order with instant printing
type. if they are same, the number of the order with less photos will be returned.[note
that this function can access private data members of the class directly]
Note: Make appropriate functions const