Draft
This is odd
1,626 of 2,596naaz
Description:
Create a function that checks if a number is odd.
Expect negative and decimal numbers too. Remember... all negative numbers can also be either odd or even.
Decimal numbers always return false
Examples
Example:
isOdd(2)--> false
isOdd(5)--> true
isOdd(4)--> false
isOdd(-17)--> true
isOdd(-7.0)--> true
isOdd(-7.1)--> false
isOdd(4.23)--> false
isOdd(5.0)-->true
isOdd(5.23)--> false
Fundamentals
Similar Kata:
Stats:
Created | Apr 28, 2015 |
Warriors Trained | 4509 |
Total Skips | 347 |
Total Code Submissions | 18551 |
Total Times Completed | 2596 |
JavaScript Completions | 1626 |
Ruby Completions | 348 |
Python Completions | 690 |
Total Stars | 32 |
% of votes with a positive feedback rating | 90% of 817 |
Total "Very Satisfied" Votes | 680 |
Total "Somewhat Satisfied" Votes | 103 |
Total "Not Satisfied" Votes | 34 |
Total Rank Assessments | 621 |
Average Assessed Rank | 8 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |