seargent master Posted August 10, 2005 Posted August 10, 2005 yay my second script kinda junky but hey it works:graduated: type in the problem and it will solve it Dim $combos For $pens=0 to 20 for $notebooks=0 to 20 For $pencils=0 to 20 if ($pens*1.00)+($notebooks*1.50)+($pencils*.50)=20.00 Then;change the variables and prices to whatever the problem ask you $combos = $combos & "pens:" & $pens & " notebooks:" & $notebooks & "pencils:" & $pencils & @CRLF EndIf Next Next Next MsgBox(2,"",$combos)combos_the_real_version.au3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now