Skip to content

Instantly share code, notes, and snippets.

@DanTup
Created October 24, 2022 18:37
Show Gist options
  • Save DanTup/dd244e3c20d14258fe1dfcc9d91b9f1c to your computer and use it in GitHub Desktop.
Save DanTup/dd244e3c20d14258fe1dfcc9d91b9f1c to your computer and use it in GitHub Desktop.
quintessential-dryad-3795

quintessential-dryad-3795

Created with <3 with dartpad.dev.

void main() {
var num = 5;
var factorial = 1;
for( var i = num ; i >= 1; i-- ) {
factorial = factorial * i ;
print(factorial);
}
print(factorial);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment