mardi 24 novembre 2020

C++ code is not working .tell me where am i wrong [closed]

#include <iostream>

using namespace std;
int main(){

string wrong;

cout<<"how are you"<<endl;

cin>>wrong;

if (wrong == 'fine'){

 cout<<"ok"<<endl;

}

else
{



 cout<<"done"<<endl;

}

return(0);

}

Aucun commentaire:

Enregistrer un commentaire