vb.net - Algorithm for star sign compatibility lookup -


I am using VB.NET but as long as it uses the infrastructure, any other known language Should be done right.

My work is to create a composite chart, when there are some astrological signs in the form of two user inputs and there is a consistency about those signals.

For people who are unaware of the astrological signs, but still want to help, there are 12 signs in each sign, there are other signs or different compatibility with themselves. So basically I get it in 12 ^ 2-12 situations. To wit. Aries with cancer "does not match exactly", so I can put a record back to that issue as the same is backwards (in the end-12).

The question is simple, there is no other way to make it apart from using issues of 12 ^ 2-12 ...

ie. Pseudo code

  If sign1 = 1 and sign2 = 4 return "does not match exactly" ...  

You need a two-dimensional array, in which the value of the value you want to return, say, a string, then you can say something

  compatibility = C [sign1] [sign2] print compatibility  

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -