You should state what language you want your answer to be in before you ask programming questions. Here is what you're looking for in Java:
<span>public static String replace(String str) {
return str.replace(' ', '*')<span>;
</span>}</span>
<span>Top-down approaches are most often useful when solving problems such as these. Since all the data is already available, taking the overall problem and breaking it down into smaller parts (with more detail as each level is attained) helps to make the overall task easier.</span>
Answer:
Explanation:
SSD is not affected by magnets
SSD is more reliable because it uses flash technology instead of platters and arms.
SSD has no moving parts so it has less chance of breaking down
SSD makes no noise because it has no moving parts.
Answer:
a) definite repetition
Explanation:
The counter-controlled repetitions is one in which we know the number of times a loop will be followed or performed.
Definite repetition is the one in which we know the number of iterations to be performed by a loop before the execution of the loop.
For Example:
Repeat a loop for 25 times printing out b *.