im doing a practical from my teacher, i have a problem here ,the if else statement didn't work for the char type
#include <iostream>
using namespace std;
int main(){
int ihour,imin,ohour,omin,hour,min;
char ctype;
cout<<"Please enter your vehicle type (Bus=b, Van=v, Car=c, Truck=t) ";
cout<<"\nVehicle type : ";
cin>>ctype;
if (ctype=='b'||'c'||'v'||'t'){} // it let any work bypass,'a' can go through here
else{
cout<<"Error, The vehicle type is only available for bus,car,van and truck(b,c,v,t)";
return 0;
}