It, just an ordinary book with simple math calculation.
you just have to know about basic calculation such as multiply and other.
Then i think, why don't i write this calculation become simple software.
So i start to write the code for this magic
trick.
Lets Start
Open Your Notepad
This is the code. I Use VB Script or Visual Basic Script so everyone without assembler can use it.
--------------------------START--------------------------------------
- msgbox "Guest your Birth Date",0,"made by S - http://2toorialle.blogspot.com"
- on error resume next
- dim h, t,b,x
- msgbox "Follow This Instryction",0,"made by S - http://2toorialle.blogspot.com"
- msgbox "Imagine your Birth Date .....!!"&vbnewline&"Keep in your mind and i will write it",0,"made by S - http://2toorialle.blogspot.com"
- msgbox "Now your Birth Month, Imagine in number. Example: "&vbnewline&"If januari Then 1, februari 2 Etc",0,"made by S - http://2toorialle.blogspot.com"
- msgbox "Multiply your birth date with 5(five)",0,"made by S - http://2toorialle.blogspot.com"
- msgbox "Then Add With 17",0,"made by S - http://2toorialle.blogspot.com"
- msgbox "Multiply The result with 20 (Twenty)",0,"made by S - http://2toorialle.blogspot.com"
- msgbox "Subtract with 19(nine teen)",0,"made by S - http://2toorialle.blogspot.com"
- msgbox "Add More with your Birth Month"&vbnewline&"Please Remember Month In Number....!!!",0,"made by S - http://2toorialle.blogspot.com"
- h=inputbox ("Tell Me your Result...?")
- h=h-321
- t=h/100
- t= round (t)
- x=t*100
- b=h-x
- if t<0>31 and b<0>13 then0>0>
- msgbox "You Sure Birth in That Day...?"&vbnewline&"coba lagi",0,"made by S - http://2toorialle.blogspot.com"
- else
- msgbox "Done"&vbnewline & "Result is:"&vbnewline &vbnewline &"You birth Day is: "&t& " "&bulan(b),0,"made by S - http://2toorialle.blogspot.com"
- end if
- function bulan(data)
- select case data
- case 1
- bulan ="january"
- case 2
- bulan ="February"
- case 3
- bulan ="Maret"
- case 4
- bulan ="April"
- case 5
- bulan ="Mei"
- case 6
- bulan ="june"
- case 7
- bulan ="july"
- case 8
- bulan ="Agustus"
- case 9
- bulan ="September"
- case 10
- bulan ="October"
- case 11
- bulan ="November"
- case 12
- bulan ="December"
- end select
- end function
Now save as your work with extension .vbs
Explaination...:
Line 1 ....................... Introduction
Line 2....................... Avoid all error
Line3........................ Declare all Variable
Line4-line11............. Magic Trick Instruction
Line12...................... Input The Result
Line13-Line17.......... Counting The Result
Line 18-Line22 ........ Cose a branch of counting
Line 23- End ........... Function to chose month.
That all the script i made, maybe it not perfect but i only a newbie and this is my place to share my knowledge...
You Can Download this file here
See You with my next articles...
No comments:
Post a Comment