I need help with this C++ error that I keep getting in mylab.
Here is my code:
#include “stdafx.h”
#include <iostream>
#include <string>
#include <iomanip>
#include “RetailItem.h”
using namespace std;
int main()
{
RetailItem Items[3];
// Welcome Message
cout << “Welcome to the Retail store!” << endl;
// Build new Item for first one
string newItem;
double newPrice;
int newQTY;
// make total on invetory
double totalINV;
// check if the price is greater then 0
do
{
cout << “Price must be greater than 0.” << endl;
cout << “Please enter the price for item 1: $”;
cin >> newPrice;
} while (newPrice < 1);
// check if the invetory is greater then 0
do
{
cout << “Inventory must be greater than 0.” <<endl;
cout << “Please enter
PayPal Gateway not configured
PayPal Gateway not configured