+ 1
character
we have the text and we want if watch the word RAJAB out put been yes and if no out put print nn how coding for this problem
7 Answers
+ 10
First of all you have to mention your programming language in the question..
Hint :
if comparison of text with rajab ==0
print yes
else print no
Try it yourself ,this is the simplest u can solve.....
+ 3
Your question isn't clear.
+ 2
I'm lost please clarify your question
+ 2
I suggest you to use fgets () to read the sentence and strstr() to find rajab
+ 1
Amir Hussein suffered very early in the Corona era. As a fan of his author's program, you want to give him the program for the name of Rajab finder to filter the âRajabâs and show the place that shows. Nature The first thing your program should do is determine if it is in the text.
Entrance
In the first line of the number input
n
n is given the length of the string
In the second line the length of the text input
Output
If rajab was in the text, print yes. Otherwise print NO.
+ 1
Sample input
11
hellorajabi
Sample output
YES
+ 1
hi