#include<iostream>
using namespace std;
int main()
{
  string weekday;
  weekday= {"Mon","Tue","Wed", "Thu","Fri"};
  cout<<"\n Please select day of booking:";
  cin>>weekday;
  cout<<"\n Day of booking:";

  return 0;
}

I think you are confused about what you are using the variable weekday for.

First you declare it as a string.
Then you try to assign a string array to it.
Then you assign the user's input to it.

I would suggest writing out what you want to do before you try and write code to do it.

commented: Thank you sir for the comment. +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.