Posted: 2017/06/08 by CDB
One of my favourites. Write a program that tests the length of a string. If the String is even it will output ‘even’. If the string is odd it will output ‘odd’.
Your email address will not be published. Required fields are marked *
Notify me of follow-up comments by email.
Notify me of new posts by email.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Copyright © 2019 · All Rights Reserved · Davies-Barnard
© 2015 CDB & ByteInsight · RSS Feed