Answer:
sum = 0 must be before for loop. If inside for loop, it will keep resetting sum to 0 each iteration.
Explanation:
hope this helps
Answer:
function
increase_elements_by_x (list, x)
{
var tplist = [];
for (i = 0; i < list.length; i++)
{
tplist[i] = list[i] + x;
print (tplist[i])}
return tplist;
}
var list =[1, 3, 5];
var copyList;
var x = 3;
copyList = increase_elements_by_x (list, x);
print (copyList);
Explanation:
Create a list named list with initial data 1,3,5.
Create a function name increase_elements_by_x which takes list and number as argument.Create empty list tplist. Loop through list, for ever index add x to list[index] and save to an empty list tplist. After loop is exited return tplist.
create a variable copylist and set it to increase_elements_by_x. Value returned by increase_elements_by_x will be saved in copylist. print copy list to see content of copy list.
Answer:
The major source of revenue for magazine company is "Advertising".
Explanation:
There are many source of income for magazine company such as subscription, circulations, advertisements.
From all above mentioned source of revenues, major source of revenues is advertising. Magazine companies publish different ads of different companies on title page as well as inside the magazine to generate the revenue.
The two technologies should be implemented in the BIOS are PXE and WOL
<h3>What is the term above about?</h3>
WOL is known to be a term that connote that which is often used to put on (power on) and PXE is known to be a term that is often used for turning (booting) that is when one wants to load an OS from a remote server.
Conclusively, Note that WoL often occurs before PXE and as such, he two technologies should be implemented in the BIOS are PXE and WOL.
Learn more about technologies from
brainly.com/question/25110079
#SPJ1
Anti-Virus and anti malware also the anti addwear