Skip to content

Instantly share code, notes, and snippets.

@dosu-roseline
Created October 13, 2022 13:42
Show Gist options
  • Save dosu-roseline/917a57c8a0198aff4393dcd5ad9ecb67 to your computer and use it in GitHub Desktop.
Save dosu-roseline/917a57c8a0198aff4393dcd5ad9ecb67 to your computer and use it in GitHub Desktop.
void main () {
addition(5, 7);
subtraction(5, 7);
division(5, 7);
multiplication(5, 7);
modulus(36, 7);
}
void addition (int a, int b) => print(a + b);
void subtraction (int a, int b) => print(a - b);
void division (int a, int b) => print(a / b);
void multiplication (int a, int b) => print(a * b);
void modulus (int a, int b) => print(a % b);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment