Drop Menu Website Template
Image
image
image


Hello There, Guest! Register

Post Reply 
Every 7 kittens born, 6 are normal size and 1 special size!
11-02-2014, 09:46 AM
Post: #32
RE: Every 7 kittens born, 6 are normal size and 1 special size!
In logic programming the system would be as follows:

Number_Radom = (random pick between 1 and 35)

select case (Number_Radom)
case = 1,2,3,4,5,6,8,9,10,11,12,13,15,16,17,18,19,20,22,23,24,25,26,27,29,30,31,32,33,3​4
- Size_Cat = Normal
case = 7
- Size_Cat = Teacup
case = 14
- Size_Cat = Toy
case = 21
- Size_Cat = Petite
case = 28
- Size_Cat = Teacup
case = 35
- Size_Cat = MegaPuss
end select

Send to website chosen Size_Cat.


Some code looks like this, the inside of kittens, and this can choose random size.
I used 35 options to justify the 85% of cats with normal size.

Store: TooAdorable
Blog: Mr.Cat - breeding, market and classes
Link: http://mrcat-kitty.blogspot.com.br/
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Every 7 kittens born, 6 are normal size and 1 special size! - fabioazevedo Oh - 11-02-2014 09:46 AM



User(s) browsing this thread: 17 Guest(s)