Skip to content

Instantly share code, notes, and snippets.

@cygairko
Last active July 19, 2023 15:12
Show Gist options
  • Save cygairko/086979ad38bebad288a6d8fa520c77a1 to your computer and use it in GitHub Desktop.
Save cygairko/086979ad38bebad288a6d8fa520c77a1 to your computer and use it in GitHub Desktop.
void main() {
double item1 = 5.8;
double item2 = 5.75;
for(int i=0; i<=12; i++) {
for(int j=0; j<=12; j++) {
print("$i x item1 ($item1) + $j x item2 ($item2) = ${i * item1 + j * item2}");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment