Answer:
// Assume that all variables a, n, temp have been declared.
// Where a is the array, n is the array length, temp is a temporary
// storage location.
// Cycle through the array a.
// By the time the loop gets halfway,
// The array would have been reversed.
// The loop needs not get to the end of the array.
// Hence, the loop ends halfway into the array i.e n/2.
for (int k = 0; k < n / 2; k++) {
// Swap first and last, second and next-to-the-last and so on
temp = a[k];
a[k] = a[n - k - 1];
a[n - k - 1] = temp;
}
Explanation:
Explanation has been given in the code in form of comments. Please go through the comments in the code carefully.
Hope this helps!
Answer:
use the img tag
Explanation:
First of al, HTML is not a program, it is a markup language.
To add an image, use:
<img src="...url to the image...">
Answer:
The answer to this question is given below in the explanation section.
Explanation:
This question is about how to insert caption or text below the image. Marry have to follow the following steps:
- Open the article in MS Word
- Select the image to insert the text below it.
- Then go to the References menu
- Under the reference group, click on the insert caption button
- a popup, windows will get open, fill in it the required detail.
If you want to insert the image below the text, then you have to follow the following option.
- Select the text where you want to insert the image
- Go to insert men
- Under the Illustration group of menu, click on pictures button, or online pictures button and select the image and click ok.
In the 1980's the internet was open to the public
But it wasn't until the 2000's that it started to be widely used
Your answer is C 2000's
Answer:
Sometimes annoying people get bored and decide to report random things for no reason. it sucks. sometimes people accidentally press the report button when they didn't mean to, I did that once and i felt really bad. There should be a "are you sure you want to report this" button when you hit the report button. It would help.
Explanation: