Ok here it is some fun little thing I made after some wierd thing My friend told me what you thiink!
Unfortunally it reurns every time what ever I input as 0.0 % can any one see why
AppTitle"Love meter" Graphics 800,600 Print "welcome to the love meter" Print "to find out how muche two pepole love each other" Print "What is the first persons name!" name1I$ = Input() Print "What is the second persons name" name2I$ = Input() Print "Canculating..." n1c#=0 n2c#=0 n1l#=0 n2l#=0 I#=0 I#=0 I#=0 I#=0 I#=0 ;format string name1$=Lower$(name1I$) name2$=Lower$(name2I$) ;canculations n1l#= Len(name1$) n2l#= Len(name1$) ;name 1 letter decipher Repeat n1m=Mid$(name$,n1l#,1) If n1m= "l" l#=l#+1 ElseIf n1m= "o" o#=o#+1 ElseIf n1m="v" v#=v#+1 ElseIf n1m="e" e#=e#+1 ElseIf n1m="s" s#=s#+1 EndIf n1c#=n1c#+1 Until n1c#=(n1l+1) ;name 2 decipher Repeat n2m=Mid$(name$,n2l#,1) If n2m= "l" l#=l#+1 ElseIf n2m= "o" o#=o#+1 ElseIf n2m="v" v#=v#+1 ElseIf n2m="e" e#=e#+1 ElseIf n2m="s" s#=s#+1 EndIf n2c#=n2c#+1 Until n2c#=(n2l+1) ;canculation ;level 1 I1#=l#+o# I2#=o#+v# I3#=v#+e# I7#=e#+s# ;level 2 I4#=I1#+I2# I5#=I2#+I3# I8#=I3#+I7# ;level 3 I6#=I4#+I5# I9#=I5#+I8# ;level 4 I10#=I6#+I9# ;display Print"These two pepole are " +I10#+ "% compatible with each other" Print"Press any key to continue" WaitKey() End
Unfortunally it reurns every time what ever I input as 0.0 % can any one see why