I vote A for the answer to your question. Hope this helps!
Make sure you have no virus or anything that could harm the computer and make sure you have lots of space on the computer :)
<span>public static String compress (String original)
{
StringBuilder compressed = new StringBuilder();
char letter = 0;
int count = 1;
for (int i = 0; i < original.length(); i++) {
if (letter == original.charAt(i)) {
count = count + 1;
}
else {
compressed = count !=1 ? compressed.append(count) : compressed;
compressed.append(letter);
letter = original.charAt(i);
count = 1;
}
}
compressed = count !=1 ? compressed.append(count) : compressed;
compressed.append(letter);
return compressed.toString();
}</span>
Answer:
x = input ("Enter a word: ")
y = input ("Enter a word: ")
print ( x, " ", y)
Explanation:
This is the simplest way to write it using Python.
The answer should be none of the above
Take windows 10 for example
It has cmd and desktop and icons and menus