Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. You are a member of the ICT department at an organization which is developing a new application for use by the Customer Service
2. You are a member of the ICT department at an organization which is developing a new application for use by the Customer Service Representatives. The task of writing code for the program is shared among members of the team. You are NOT required to write an entire program. You must only write the block that you are asked to as follows: You are required to write a segment of code that requires the user to enter a response to the following prompt: Please Enter the brand of watch? T- Timex G - Guess R - Ralph Your code reads input from the user as a character for the variable watch Brand. Your code must be able to accept values in either lower case or upper case. Further, your code must validate the responses, so that only 'T' or 'G' or 'R' is accepted. Any other character will receive an "Invalid Input!" message, and the process is repeated until the user enters an acceptable input.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started