Here is an example script that compares two values x
and y
:
main.m144 chars11 lines
This script first assigns values to x
and y
. Then, it uses an if-elseif-else statement to compare the values of x
and y
and displays an appropriate message.
You can change the values of x
and y
to test the script with different input values.
gistlibby LogSnag