Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --EDIT: LOL THIS IS WRONG
- function CAHEquation(a,b,c,d,e,f,g)
- local total=a*b*c
- total=total+a*b*e
- total=total+a*b*f
- total=total+a*b*g
- total=total+a*d*c
- total=total+a*d*e
- total=total+a*d*f
- total=total+a*d*g
- total=total+a*f*c
- total=total+a*f*e
- total=total+a*f*g
- total=total+a*g*c
- total=total+a*g*e
- total=total+a*g*f
- total=total+d*b*e
- total=total+d*b*f
- total=total+d*b*g
- total=total+d*f*c
- total=total+d*f*e
- total=total+d*f*g
- total=total+d*g*c
- total=total+d*g*e
- total=total+d*g*f
- total=total+e*b*f
- total=total+e*b*g
- total=total+e*d*c
- total=total+e*d*f
- total=total+e*d*g
- total=total+e*f*c
- total=total+e*f*g
- total=total+e*g*c
- total=total+e*g*f
- total=total+g*b*e
- total=total+g*b*f
- total=total+g*d*c
- total=total+g*d*e
- total=total+g*d*f
- total=total+g*f*c
- total=total+g*f*e
- return total
- end
- print(CAHEquation(161,122,114,13,36,103,39))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement