Answer:
Following are the code to this question:
for (i = 0; i <3; ++i)//defining loop to print value
{
cout<<runTimes[i]<<endl;//print value
}
Explanation:
Full program code to this question:
#include<iostream>//defining header file
using namespace std;
int main() //defining main method
{
const int NUM_ELEMENTS = 5;//defining const integer variable
int runTimes[NUM_ELEMENTS]; //defining integer array
int i;//defining integer variable
for (i = 0; i < NUM_ELEMENTS; ++i)//defining loop to input value
{
cin >> runTimes[i];//input value
}
cout<<"print three elements value of array: "<<endl;
for (i = 0; i <3; ++i)//defining loop to print value
{
cout<<runTimes[i]<<endl;//print value
}
return 0;
}
Output:
Please find the attachment.
Description:
- In the above code, an integer const variable "NUM_ELEMENTS" is declared, that assign value "5" which is array size, in the next step, an array "runTimes" is declared.
- In the next step, for loop is used, that uses an integer variable "i", which is used to input all array elements.
- In the next line, another for loop is used, which uses "i" variable, which starts from 0 and ends when its value less than 3, inside the loop print method, used that prints 3 array elements.
Answer:
True
Explanation:
If you feel you are a hazard to others on the road you can use the shoulder to get off of the road, thats what they are meant for.
<span>how many hours they can work on a project.</span>
Answer:
Buyers can source products from anywhere in the world.
Your purchases are delivered to the location you specify.
Explanation:
E-commerce refers to the process of buying and selling goods and services through the internet or the virtual world. The economic and business transaction done through this process constitutes electronic commerce or e-commerce.
Two advantages for buyers are that the <u>buyer can source the goods and products from all over the world and also get them delivered at the location specified</u>. This allows for an easy and effortless transaction and also saves the buyer's time and energy. With things available at just a touch of an electronic screen, the buyer can get products from anywhere and get them delivered at his/ her doorstep or for that matter, anywhere he/she wished it delivered, with no extra effort from his side.
Thus, the correct answers are the third and fourth options.