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:
An IP Address
Explanation:
Every computer or networking device has its own IP address. It is a series of numbers that will uniquely identify a particular computer on the internet. Since the computer connects to the internet via a router (provided by the Internet Service Provider), it is the router's IP address (or simply the network address) that is shared on the internet. So, the IP address is not exactly a reliable way of linking you to what you do on a computer.
<em>Hope this helps!</em>
Answer:
Explanation:
Microsoft Word este un procesor de text modern,Microsoft Excel,
Microsoft PowerPoint si Microsoft Access.
Programul va poate ajuta sa realizati documente,
Primary Key, if we define field as primary key it will not accept duplicate values.<span>
</span>
Explanation:
Given, the cost price of the TV is Rs 24600. Now, the cooler costs Rs 800 more than one-third of the TV. The cost price of the cooler is Rs 9000.