No Description

Marina Barsky 03ae7e2383 Update 'test/array_index_test.c' 2 years ago
include a94e45eab0 Full exercise 2 years ago
src a94e45eab0 Full exercise 2 years ago
test 03ae7e2383 Update 'test/array_index_test.c' 2 years ago
.drone.yml 13b6ec8b45 Update '.drone.yml' 2 years ago
.gitignore fa3480e4cd Initial commit 2 years ago
LICENSE fa3480e4cd Initial commit 2 years ago
Makefile a94e45eab0 Full exercise 2 years ago
README.md bc08fc38d6 Update 'README.md' 2 years ago

README.md

Array lab: indexes

Exercise 1

In file src/array_index.c, complete function equal_index.

The function accepts as parameters
an array A of integers and its length size.

The function counts how many times the value of an element in A is equal to its index. The function returns this count.