This is the assignment that I need help with
Assignment 5
and here is the file that needs to go into the program
.txt file
here is what i have so far.... any suggestions and hints would be greatly appreciated.
Code:
#include <iostream>
using namespace std;
struct sales
{
int customerid;
string firstname;
string lastname;
int items;
float amount;
};
int main()
{
int i; //int i
int sales[1000];
for(i=0; i<1000; i++);
cin>>sales[i];
return 0;