Skip to content

debo07/go-even-odd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Requirement -

  • Create a new package
  • In the main function, create a slice of ints 0 through 10
  • Iterate through the slice. For each element, check to see if the number is odd or even.
  • If the value is even, print out "even". If it is odd, print out "odd".

About

Small program to check even or odd in a int slice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages