Professional Documents
Culture Documents
Merging Result-Merged
Merging Result-Merged
AIM: TO FIND OUT A GIVEN NUMBER IS ODD OR
EVEN USING LABVIEW SOFTWARE
Explanation
How do you know if a number is even or odd in Labview.
ODD/EVEN: If you have an integer datatype, do a bitwise AND with "1" and
check if the result is zero (even) or not (odd).
An even number is a number that can be divided into two equal groups. An
odd number is a number that cannot be divided into two equal groups. Even
numbers end in 2, 4, 6, 8 and 0 regardless of how many digits they have (we know
the number 5,917,624 is even because it ends in a 4!).
ADVANTAGES
Odd-Even Formula:
This has been formulated to bring down the number of cars running
on the roads in Delhi and to increase the use of public transports. As
per this formula cars with odd-numbered registration plates would apply on
odd dates and those with even-numbered registration plates would do so on
even dates.
Front and Block Diagram Panel
Front and Block Diagram Panel