Question: write a code that keeps reading strings with a maximum length of 3 0 characters each until the word stop is entered. then, the code
write a code that keeps reading strings with a maximum length of characters each until the word "stop" is entered. then, the code prints the longest string that contains "najah". the code should ignore any word shorter than characters.
for example, if the input is:
student@najah.edu
najahstreet
najahhospital
nablusoldcity
palestineismycountry
najahuniversity
stop.
the output is:
student@najah.edu
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
