Coding Challenge: Neither Yes nor No
Explore how to use while and for loops effectively by creating a JavaScript program that prompts user input until the letters y or n are entered. Learn to control program flow and handle user input to implement conditional logic that ends the game, enhancing your coding skills with loops and conditions.
We'll cover the following...
We'll cover the following...
Problem statement
Write a program that plays “neither yes, nor no” with the user. Specifically, the program asks the user to enter text until either ...