Answer:
Explanation:
The following code is written in Java, the function takes in a list with the previous day's values. The function then uses that list, loops through it and multiplies each individual value by 2 and returns the modified list. The first red square represents the test case for the function, while the second red square in the image represents the output.
public static ArrayList<Integer> doubleIt(ArrayList<Integer> mylist) {
for (int x = 0; x<mylist.size(); x++) {
mylist.set(x, mylist.get(x)*2);
}
return mylist;
}
Answer:
I can :) just comment lol
Pressing enter two times I’m pretty sure that’s right cuz like it does nothing when I do it. It’s either that or idk up to u to take an answer from someone who has bad grammar
When Microsoft donated copies of Word program to colleges
and universities, the company Microsoft is using a Marketing Strategy in
promoting the product. A good promotion will help the product to be known and
by words of mouth it will basically promote the product and the users will
definitely give comments on how the product performs.