Untitled

 avatar
unknown
golang
7 months ago
157 B
3
Indexable
const N = 1000

func countThis(T [N]int, total, ini int) int {
	count := 0
	for i := 0; i < total; i++ {
		if T[i] == ini {
			count++
		}
	}
	return count
}
Editor is loading...
Leave a Comment