c++ program
(Lab2a.cpp) Write a program to process arrays of structureddata.
The program must be written in accordance tothe following plan:
Define Data Structures
Define a data structure named Sale. Thestructure has the following fields:
string itemName
int quantity
double unitPrice
double salePrice
Write Function Prototypes
Write a function prototype for the function namedloadData. The function receives an array of Saleas the first parameter and an int as the second parameter. Thesecond parameter is for the size of the array. The function returnsan int that represents the number of sale data that has been loadedinto the array.
Write a function prototype for the function namedprocessData. The functionreceives an array of Sale
PayPal Gateway not configured
PayPal Gateway not configured