cout<<"Do you want to edit data?"<<"\t"<<yesorno;
while( yesorno=="yes");
{
cout<<"Laptop Company :"<<"\t"<<company<<endl;
cout<<"Processor :"<<"\t"<<processor<<endl;
cout<<"OS :"<<"\t"<<os<<endl;
cout<<"RAM :"<<"\t"<<ram<<endl;
cout<<"Price :"<<"\t"<<price<<endl;
}
}};
int main()
{
laptop obj1;
obj1.login();
obj1.getdata();
obj1.editdata();
return 0;
}
C:\Users\Sana\Desktop\lol.cpp(30) : error C2440: '==' : cannot convert from 'char [5]' to 'int [80]'
There is no context in which this conversion is possible
C:\Users\Sana\Desktop\lol.cpp(30) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Error executing cl.exe.