write a function isred() that accepts a string parameter and looks for the presence of the word ‘red’ in the string. if it is found, return boolean true otherwise false. finally output the result of calling the function with the value in text

0

Write a function isRed() that accepts a string parameter and looks for the presence of the word ‘red’ in the string. If it is found, return boolean True otherwise False. Finally output the result of calling the function with the value in text.

By Wooden Hammer Docteur SEO at Feb 03 2020


Related code examples


Code examples by languages