Computers and Technology

Write a method samedashes that takes two strings as parameters and that returns whether or not they have dashes in the same places (returning true if they do and returning false otherwise). for example, below are four pairs of strings of equal length that have the same pattern of dashes. notice that the last pair has no dashes at all.

answer
Answers: 3

Similar questions

Do you know the correct answer?
Write a method samedashes that takes two strings as parameters and that returns whether or not they...

Questions in other subjects:

Konu
History, 08.10.2019 10:10