Question: JavaScript Given an input sequence of numbers separate by spaces, output I'm feeling lucky!! if the pattern 23 # 28 is present, where # is
JavaScript
Given an input sequence of numbers separate by spaces, output "I'm feeling lucky!!" if the pattern 23 # 28 is present, where # is any number. Otherwise output "Nope not lucky". Only use prompt() and and document.writeln() for I/O.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
