Here's my code when the user inputs a day of the week followed by int, it gets pushed back into that respected vector, but in my case it pushes back only to the vector mon and if i change the else-if statements to if-statements it pushes back to all vectors, how do i get it to push_back(day); to the respected day of week vector. Also when i terminate with "||" it only exists the while loop how do i get it to terminate the whole program.
#include<iostream>
#include<vector>
using namespace std;
int main()
{
vector<int>tues;
vector<int>mon;
vector<int>wed;
vector<int>thur;
vector<int>fri;
vector<int>sat;
vector<int>sun;
string week_day;
int day=0;
cout<<"Please enter a day of the week followed by a number\n";