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
Science,
8 months ago
Math,
8 months ago
English,
8 months ago
Environmental Sciences,
1 year ago
English,
1 year ago
Computer Science,
1 year ago