1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
const unsigned short numComponents = 10;
unsigned short prices[numComponents];
string treatments[numComponents];
string appMonday[7], appTuesday[7], appWednesday[7], appThursday[7], appFriday[7];
string nameMonday[7], nameTuesday[7], nameWednesday[7], nameThursday[7], nameFriday[7];
void getPriceList ();
void populateArrays(string toPopulate[]){
toPopulate = {"F","F","F","F","L","F","F","F"};
}
int main () {
getPriceList ();
populateArrays(appMonday);
populateArrays(appTuesday);
populateArrays(appWednesday);
populateArrays(appThursday);
populateArrays(appFriday);
populateArrays(nameMonday);
populateArrays(nameTuesday);
populateArrays(nameWednesday);
populateArrays(nameThursday);
populateArrays(nameFriday);
return 0;
}
|