Open psurabh opened 8 months ago
This pull request introduces a new Golang script that can identify whether a number is even or odd.
src/even_or_odd.go
isEven(num int)
main()
isEven()
Fixes #18.
This is an automated message generated by Mi6
Description
This pull request introduces a new Golang script that can identify whether a number is even or odd.
Summary
src/even_or_odd.go
which contains the main script.isEven(num int)
that returns a boolean value based on whether the input number is even or not.main()
function tests theisEven()
function with a range of numbers from 0 to 10 and prints whether each number is even or odd.Fixes #18.
🎉 Latest improvements to Mi6:
#💡 To get Mi6 to edit this pull request, you can: