Answer:
import java.util.Scanner;
public class FindMatchValue {
public static void main (String [] args) {
final int NUM_VALS = 4;
int[] userValues = new int[NUM_VALS];
int i = 0;
int matchValue = 0;
int numMatches = -99; // Assign numMatches with 0 before your for loop
userValues[0] = 2;
userValues[1] = 2;
userValues[2] = 1;
userValues[3] = 2;
matchValue = 2;
numMatches=0;
for(i=0;i<NUM_VALS;i++)
{
if(userValues[i]==matchValue)//cheking if the array element is equal to match value.
{
numMatches++;
}
}
System.out.println(numMatches);//printing the matchvalue.
}
}
Output:-
3
Explanation:
First I have set the value numMatches to 0 before the loop.Then I have user the for loop to iterate over the array.In the for loop I am checking that the array element is equal to the matchValue or not if it is equal then increasing the numMatches by 1.Then at last print the value of numMatches.
Award documentation is typically required to be prepared and submitted within how long after the end of a project period of 90 days.
What does Award includes?
- Awards to international organizations and government institutions, whether or whether they are covered by SNAP, must include annual expenditure information.
- The report shall be submitted for each budget period, if necessary on an annual basis, no later than 90 days following the end of the calendar quarter in which the budget period concluded.
- The report must include information on any allowed extensions to the budgetary period. If more regular reporting is necessary, both the frequency and the deadline shall be stated in the NoA.
Learn more about the Post-Award Monitoring and Reporting with the help of the given link:
brainly.com/question/15415195
#SPJ4
The answer would be B. $E$19 would keep the cell and row the same.