| |
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
| |
|
|
| 04 May 2015 07:43 PM |
multiplication obviously we cant use x because x can be a variable |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 May 2015 07:44 PM |
You will see in Algebra the use of Asterisks and dots for multiplication. So,
5 * 5 = 25
9 * 9 = 81
---
local x = 5
local y = 8
print(x*y)
> 40 |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 07:49 PM |
•
I appreciate your attempt at humor |
|
|
| Report Abuse |
|
|
oplmn1
|
  |
| Joined: 25 Nov 2010 |
| Total Posts: 994 |
|
|
| 04 May 2015 08:32 PM |
This is global, not even kidding, either you're a moron or your school is garbage if you dont know these:
+ = addition - = subtraction * = multiplication / = Division |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 May 2015 08:58 PM |
There is no reason to be rude for a simple question to answer like this one. Now please, do yourselves a favor and
print('gtfo') |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 09:09 PM |
+ addition - subtraction/negate * multiplication / division % modulus = assignment == comparison (equivalence) ~= comparison (not equivalent) > comparison (greater) < comparison (less) >= comparison (greater or equivalence) <= comparison (less or equivalence) # length of and logical and or logical or not logical not |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 09:10 PM |
Sorry, forgot an operator and tabs came out slightly wrong. Fixed it:
+ addition - subtraction/negate * multiplication / division ^ exponents % modulus = assignment == comparison (equivalence) ~= comparison (not equivalent) > comparison (greater) < comparison (less) >= comparison (greater or equivalence) <= comparison (less or equivalence) # length of and logical and or logical or not logical not |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 09:10 PM |
This one is all correct, promise lolol
+ addition - subtraction/negate * multiplication / division ^ exponents % modulus = assignment == comparison (equivalence) ~= comparison (not equivalent) > comparison (greater) < comparison (less) >= comparison (greater or equivalence) <= comparison (less or equivalence) # length of and logical and or logical or not logical not |
|
|
| Report Abuse |
|
|
oplmn1
|
  |
| Joined: 25 Nov 2010 |
| Total Posts: 994 |
|
|
| 04 May 2015 09:12 PM |
| I googled mulduous or whatever that word is and nothing came up |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
| |
|
|
| 04 May 2015 09:20 PM |
modulus? It's basically the remainder of division. Y'know, primary division lol.
5%2 is 1, because 2 goes into 5 twice, and there's 1 left over. |
|
|
| Report Abuse |
|
|
|
| 06 May 2015 03:15 PM |
| I already knew multiplication |
|
|
| Report Abuse |
|
|
|
| 06 May 2015 03:17 PM |
An asterisk also stands for "all" (or something) in Java import package.*
So, he wasn't wrong asking about it. |
|
|
| Report Abuse |
|
|
|
| 06 May 2015 03:53 PM |
Actually, it doesn't mean "all". It is a wildcard, in many situations. Not just Java. For example, Roblox allows links to *.roblox.com to be posted, and they even use the wildcard in the ToS. Many, many things use * as a wildcard. |
|
|
| Report Abuse |
|
|