Answer:
Here are the for loop for the given question.
for (i = 0; i < NUM_VALS; i++) // for loop
{
/* check if the value of i is equal to NUM_VALS or not.If it is
equal then just print the value without comma.*/
if(i==(NUM_VALS-1)) // if block
System.out.print(hourlyTemp[i]);
/* if i is not equal then just print the value with comma.*/
else // else block
System.out.print(hourlyTemp[i] + ", ");
}
Explanation:
In this we iterating the for loop and check the condition
check if the value of i is equal to NUM_VALS or not.If it is equal then just print the value without comma
If i is not equal then just print the value with comma .
Output:
90,92,94,95
Answer:
short- term memory
Explanation:
Computer stores memory in two major ways: long-term and short-term. Short-term memory usually takes seconds to delete except rehearsals or other strategies are used to retain it for longer periods. Thus, short-term memory are simply limited-capacity memory system for retaining information for a short period.
Answer:
GOOOD JOBBB !! congrats :D
Explanation: