@5SpeedDeasil@lemmy.world to Memes@lemmy.ml • 3 years agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square205fedilinkarrow-up11.66Karrow-down161
arrow-up11.59Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com@5SpeedDeasil@lemmy.world to Memes@lemmy.ml • 3 years agomessage-square205fedilink
minus-square@IBurnedMyFingers@discuss.tchncs.delinkfedilinkEnglish0•edit-23 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.