Answer:
Replace /* Your code goes here */ with
for(i =0; i<NUM_VALS; i++)
{
printf("%d", origList[i]*offsetAmount[i]);
printf(";");
}
Explanation:
The first line is an iteration statement iterates from 0 till the last element in origList and offsetAmount
for(i =0; i<NUM_VALS; i++)
{
This line calculates and print the product of element in origList and its corresponding element in offsetAmount
printf("%d", origList[i]*offsetAmount[i]);
This line prints a semicolon after the product has been calculated and printed
printf(";");
Iteration ends here
}
0.61 (rounded up)
Explanation:
You add both 700 and 450 which will give you 1150g
You then divide 1150 by 100 which gives you 11.5
Then divide 7 by 11.5 which will give you 0.61 as cost of every 100 grams
To erase an entry in a cell and then reenter the data from the beginning press the esc key. Hope that helps!
Answer:
(d) mysqldump websites -u root -p > websites_backup.sql
Explanation:
To create a backup mysqldump is used.It is a data backup program.This program was originally written by Igor Romanenko. It creates a backup of file name websites_backup.sql.
So among the given options in the question option d is the correct option which backs up the single database websites in the file website_backup.sql.
The answer is Ethernet
Ethernet is by far the most popular LAN by a mile. It is a
group of protocols that work at either the Data link layer or the Physical
layer of the OSI model. Ethernet in the engineering world is defined as the
IEEE 802.3 specification.