Computer Science Homework Help

Computer Science Homework Help. Do the assignment ASAP

1.In a script, prompt the user to enter either a yes (‘y’) or no (‘n’). A character variable called letter is used to store the user’s input. The script will print “OK, proceeding” if the user enters either a ‘y’ or ‘Y’; print “OK, halting” if the user enters a ‘n’ or ‘N’; print “Invalid input” if the user enters anything else. The first line of the script is given:

letter = input(‘Enter your answer: ‘, ‘s’);
Please finish the script by using if-else statements (elseif clause is permitted).

Type your answer HERE:

Computer Science Homework Help

 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"