4. Only (ii)
<u>Explanation:</u>
The declaration of the array can be of two types:
1. int a[100];
2. int[] a = new int[100];
The general thing about an array is that whenever we want to undergo traversal in an array, we always have to start from the 0th position as the size of the array may be a whole number (let us say 10). So, to undergo traversal in an array, we start from 0 to n-1 (in this case 9) such that it covers the size of the array.
The size of an array can be finite or infinite. The general rule is it starts from 0 to n-1 where n is the size of the array. In the above example, the range of the index of the array will be 0 through 100 and not 1 through 100.
GPS is a global positioning system that tells direction and routes. Some risks that come along with GPS are inaccuracy, distraction, and lack of knowledge.
<h3>What is GPS?</h3>
GPS is a radio navigation system based on the satellite and is used to navigate the directions with the help of the signals. Though it has many benefits also has disadvantages. It sometimes does not show accurate routes and direction that is too long.
The navigation system causes distraction during driving and may cause an accident. Too much reliance on GPS causes a lack of knowledge in remembering the directions and places. It may sometimes lead to crime as the saved information and be leaked.
Therefore, GPS has advantages and disadvantages too.
Learn more about GPS here:
brainly.com/question/6905079
#SPJ4
Paragraphs are usually separated by blank space.
Hope this is what you were looking for :)
Answer:
Total amount of calories = 325
Explanation:
Given:
Amount of carbohydrate = 58 gram
Amount of protein = 12 gram
Amount of fat = 5 gram
Find:
Total amount of calories
Computation:
1 gram protein = 4 calories
1 gram carbohydrate = 4 calories
1 gram fat = 9 calories
Total amount of calories = (58)(4) + (12)(4) + (5)(9)
Total amount of calories = 232 +48 + 45
Total amount of calories = 325
A computer is a device whose main function is to process large amounts of information quickly and accurately, and this procedure is done thanks to hardware and software.