Write a program to enter a name is Raman, print "Hello friend" else print "hello" of Q Basic
Answers
Answered by
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
cin >>" enter name " >>c;
cout<<" enter name is "<<c;
if(e==c)
{ cout<<" hello friend";
}
else
{ cout<<"hello";
}
hope this helps you
Similar questions
Chemistry,
7 months ago
Math,
7 months ago
Hindi,
7 months ago
Environmental Sciences,
1 year ago
English,
1 year ago
Computer Science,
1 year ago