Skip to content

Instantly share code, notes, and snippets.

@angelabauer
Last active August 17, 2023 13:48
Show Gist options
  • Save angelabauer/4bf7549c820d1adb4be8673e92820e43 to your computer and use it in GitHub Desktop.
Save angelabauer/4bf7549c820d1adb4be8673e92820e43 to your computer and use it in GitHub Desktop.
//Challenge: Without changing the main() function, can you make this code work and get the result printed in the console?
void main() {
int step1Result = add(n1: 5, n2: 9);
int step2Result = multiply(step1Result, 5);
double finalResult = step2Result / 3;
print(finalResult);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment