Question: Why should we give the user choices? As programmers we always like to have complete control over our code. i.e.(name=Bob). However, there are times when
Why should we give the user choices? As programmers we always like to have complete control over our code. i.e.(name="Bob"). However, there are times when it is beneficial to give the user choices. i.e.(name=("Enter your name: ")) Think about it, not ever person's name is Bob or Mary. So by giving the user choices, we are essentially giving them power over our code. It is a good option to have the user "think" that they have control but you the programmer has control over what is printed as output or what variable is a place holder for which input. This type of choice comes in handy with websites, job applications, or online forms.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
