Jump to content

Recommended Posts

Posted

Okay, you know when u go through a tutorial for c++, or take a class... their is usually a little assignment where you have to create a program that you input your birthday and it will give you your zodiac sign...

except, it does'nt use any IF STATEMENTS at all...

is their any way to do this in autoit?

an example?

Posted

One possibility....

Input: Birthday. There are 366 possible values (remember leap years)

Output: Zodiac. There are 12 possible values.

Worst case, you could write a function that maps each possible input to its output. A lookup table, so to speak....

That should be enough of a hint.

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...