Question: C# programming: How do I code this ? do I use do-while loops for this ? yellow highlight is customer input This is 2 different
C# programming: How do I code this ? do I use do-while loops for this ?
yellow highlight is customer input

This is 2 different situation: if the customer input is yes then they will get to pick a number from 1 to 5. But if the customer input is " No" then they do not need to pick a number.

SCRIPT: Are you a member of our Futility Club, the frequent shopper program that rewards persistence over results? Enter Y or N: n SCRIPT: What's wrong with you? That just cost you a 15% discount and an opportunity to win some Invisible Paint. Sad. Press any key to display invoice. SCRIPT: Are you a member of our Futility Club, the frequent shopper program that rewards persistence over results? Enter Y or N: SCRIPT: Excellent! You'll receive an AMAZING 15% discount on today's purchase! SCRIPT: What's more, as a valued member of our loyalty program, you'll have a chance to win a bonus gift in our exciting Members Only Invisible Paint Extravaganza contest! Pick a number between 1 and 5! Number: 3 SCRIPT: Woo hoo! You guessed the secret number: 3! A gallon of ACME Invisible Paint is headed your way! Press any key to display invoice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
