Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › ARRAY BASICS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Write the Java program so it increments count only when the current value in [3, 7, 3, 2, 3, 7] equals target 3. Print the final count.
OUTPUT
Sample3
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.