Skip to content

Repository files navigation

Practice Questions

Find Index

Write a function that searches for an element in an array and returns the index. If the element is not present, then return -1.

Even Numbers in Array

Print all even numbers from an array.

Vote Eligibility

Write a function that checks if a person is eligible to vote based on their age (must be 18 or older).

// write a function that return the number of nagative number in array

// write a function that returns largest number in an array

// write a function that returns smallest number in an array

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages