subject

Given the string variables name1 and name2, write a fragment of code that assigns the larger of the two to the variable first (assume that all three are already declared and that name1 and name2 have been assigned values). (note: "larger" here means alphabetically larger, not "longer". thus, "mouse" is larger than "elephant" because "mouse" comes later in the dictionary than "elephant"! )

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:20
What do you need to know & understand about global expansion.
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
question
Computers and Technology, 24.06.2019 22:30
What are the 4 basic items that are traded throughout the world?
Answers: 1
You know the right answer?
Given the string variables name1 and name2, write a fragment of code that assigns the larger of the...
Questions
question
Mathematics, 16.11.2020 18:30
question
World Languages, 16.11.2020 18:30
question
English, 16.11.2020 18:30
question
English, 16.11.2020 18:30