The answer is,
<u>True</u>
Please rate <u>Brainliest</u> (:
Answer:
The answer is "Option A"
Explanation:
Complete Code:
public class Arr//defining a class-Arr
{
public static void main(String[] args)//main method
{
int [][] numbers={{1, 2, 3},{4,5,6}}; //defining 2D array numbers
for(int[] row : numbers) //use for loop that holds all array value into 1D array
{
for (int n: row)//defining n variable that holds row array values
{
System.out.print (n); //print n variable value
}
}
}
}
The code comment explains its functioning.
<span>the persistence of learning through the storage and retrieval of information.</span>
Answer:
His average for 4 days is 2542.5 mg
Intake of 5th day has to be less than 1330 mg
Explanation:
In order to find the average we take the sum of intakes for 4 day ans then divide it by total number of day which is 4 days.
Average = (2150 + 3005 + 2700 + 2315) / 4
Average = 10170/4
Average = 2542.5 mg
To find the 5th day intake such that average is below 2300 mg:
Let 5th day intake = x
We apply the same method to find the average by taking the sum of intakes for 5 days and then dividing the total with 5 days now. This average has to be less than 2300 mg therefore we use the following method:
(2150 + 3005 + 2700 + 2315 + x ) / 5 < 2300
2300 = (10170 + x)/ 5 < 2300
10170 + x < 11500
x < 11500 - 10170
x < 1330 mg