Computers and Technology

The following pseudocode works, but it performs a case-sensitive validation of the user's input. how could the algorithm be improved so the user does not have to pay attention to capitalization when entering a name? //this program asks the user to enter a string//and validates the input. declare string choice//get the user's response. display "cast your vote for chess team captain." display "would you like to nominate lisa or tim? " input choice//validate the input. while choice ! = "lisa" and choice ! = "tim" display " enter lisa or tim." display "cast your vote for chess team captain." display "would you like to nominate lisa or tim? " input response end while

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:30, ruddymorales1123
Linda subscribes to a cloud service. the service provider hosts the cloud infrastructure and delivers computing resources over the internet. what cloud model is linda using
Answers: 1
image
Computers and Technology, 22.06.2019 13:30, baeethtsadia
Asoftware company hired ray, a college graduate to work in their development team. ray is assigned to work in the coding phase of a project. what happens during the coding phase of a software development project? a. the customer receives a working model of the software. b. developers convert the program design into code. c. developers gather requirements directly from the stakeholders. d. testing teams check the product for quality.
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, jhitotw
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
image
Computers and Technology, 23.06.2019 18:40, brooklyn4932
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
Do you know the correct answer?
The following pseudocode works, but it performs a case-sensitive validation of the user's input. how...

Questions in other subjects:

Konu
Mathematics, 11.12.2019 22:31