Computer Science, asked by bipasharouth, 1 year ago

Write a program to enter a name is Raman, print "Hello friend" else print "hello" of Q Basic

Answers

Answered by Anonymous
1
char c, char e;
cin >>" enter name " >>c;
cout<<" enter name is "<<c;
if(e==c)
{ cout<<" hello friend";
}
else
{ cout<<"hello";
}

hope this helps you
Similar questions