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
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