: . .

, , . - (). , , , , , , . , , (w w2) (U), .


, , , . , . , , , , : , (1), (0), , - () . BASIC-256, , ( 1) .

rem

els

wl=0.5:w2=0.5:u=0.5

input " 1 = ",el

input " 2 = ",e2

total=wl*el+w2*e2

if total <=u then

print " = 0"

else

print " = 1"

end if

.

rem

els

wl=l:w2=l:u=0.5

input " 1 = ",el

input " 2 = ",e2

total=wl*el+w2*e2

if total <=u then

print " = 0"

else

print " = 1"

end if

, ? , , , . , , . , , I.


: 0.484. /Cache: 3 / 1