Computers and Technology, 28.11.2020 08:40 daisa02
Write a program that asks the user to enter 2 words, then prints "Great!" if the two words are identical, "Close enough" if they are the same length and all but the last letter matches, and "Try again" otherwise.
Sample runs:
Enter 2 strings:
the
the
Great!
Enter 2 strings:
that
than
Close enough
Enter 2 strings:
their
there
Try again
Hint - for the "Close enough" condition you will need to see whether substrings of the two input String are the same. You can use the length and substring methods together to get the relevant substrings (all but the last character of each String).
Answers: 2
Computers and Technology, 23.06.2019 01:50
Free points just awnser this. what should i watch on netflix
Answers: 2
Computers and Technology, 23.06.2019 07:10
If you want to import a picture into a dtp application, what must you do first? draw an image frame. import text. open the folder containing the file. select get image… from the windows menu.
Answers: 2
Computers and Technology, 24.06.2019 09:30
What is the definition of digital literacy?
Answers: 1
Computers and Technology, 24.06.2019 11:00
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
Write a program that asks the user to enter 2 words, then prints "Great!" if the two words are ident...
Mathematics, 17.04.2020 05:44
Mathematics, 17.04.2020 05:44
Mathematics, 17.04.2020 05:44
Mathematics, 17.04.2020 05:44
Chemistry, 17.04.2020 05:44
English, 17.04.2020 05:44
Social Studies, 17.04.2020 05:44
English, 17.04.2020 05:44
English, 17.04.2020 05:44
History, 17.04.2020 05:44
Chemistry, 17.04.2020 05:44