[scilab-Users] Odd and Even numbers

Celso Co celso.co at gmail.com
Wed Oct 28 04:58:04 CET 2009


Dear Pedro

Please try attached sample scilab code.
I hope it helps.

Regards,
celso co


On Tue, Oct 27, 2009 at 7:55 PM, Pedro Sousa <pasousa.ml at gmail.com> wrote:

> Hi to all,
>
> I've been searching how to check if a number is odd or even. I could not
> find a function to do it.
>
> I can't also use the scilab operations like I use in C, when working
> with integer data. My question is how can I check if a number if even or
> odd?
>
> best regards
> Pedro
>
>


-- 
Eng'r Celso B. Co, PhD ECE
Assistant Professor
Dept. of Electronics, Computer, and Communication Engineering,
Loyola Schools of Science and Engineering, Ateneo De Manila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20091028/1b0a7e61/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Odd Even.sci
Type: application/octet-stream
Size: 541 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20091028/1b0a7e61/attachment.obj>


More information about the users mailing list