@5SpeedDeasil@lemmy.world to Memes@lemmy.ml • 2 years agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square206fedilinkarrow-up11.73Karrow-down163
arrow-up11.67Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com@5SpeedDeasil@lemmy.world to Memes@lemmy.ml • 2 years agomessage-square206fedilink
minus-square@IBurnedMyFingers@discuss.tchncs.delinkfedilinkEnglish1•edit-22 years agoJava/C# would have types before the variables: double sum = 0d; for (int i = 0; i < 4; i++) sum += 3 * i;
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.