void entry(int itemsales1[255][255], int itemcount1, string itemnames1[255])
{
int count;
char *days[]={"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"};
cout << "Enter item's name: ";
cin >> itemnames1[itemcount1];
for (count = 0; count < 5; count++)
{
cout << "Enter " << days[count] << " sales: ";
cin >> itemsales1[itemcount1][count];
}
return(itemsales1, itemcount1, itemnames1);
}
I was curious, I want this to return a string as well as the ints, what type of function would I have to make this to do so?