@[email protected] to [email protected] • 1 year agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square202fedilinkarrow-up11.73Karrow-down161cross-posted to: [email protected]
arrow-up11.67Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com@[email protected] to [email protected] • 1 year agomessage-square202fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilinkEnglish1•edit-21 year agoJava/C# would have types before the variables: double sum = 0d; for (int i = 0; i < 4; i++) sum += 3 * i;
minus-square@[email protected]linkfedilinkEnglish3•1 year agoOnly if they’re declared in the snippet.
I think its Java.
It’s any C derivative language.
Could also be Javascript or C#.
Or C or C++
Java/C# would have types before the variables:
double sum = 0d; for (int i = 0; i < 4; i++) sum += 3 * i;
Only if they’re declared in the snippet.