Crates.io | isevenorodd |
lib.rs | isevenorodd |
version | 0.1.0 |
source | src |
created_at | 2024-01-17 13:40:07.655491 |
updated_at | 2024-01-17 13:40:07.655491 |
description | A simple command line tool to generate a rust function to check if a number is even or odd. |
homepage | |
repository | https://github.com/metamethods/isevenorodd |
max_upload_size | |
id | 1102955 |
size | 683,615 |
A simple command line tool to generate a rust function to check if a number is even or odd.
Create an function that goes from 0 to 100 and checks if the number is even or odd.
isevenorodd 100
If you want to start from a specific number, you can do so by passing the number in the start flag
isevenorodd 100 -s 10
or
isevenorodd 100 --start 10