Skip to content

Instantly share code, notes, and snippets.

@axurright
Last active December 6, 2024 02:23
Show Gist options
  • Save axurright/1fbf64a645d4fdd40696df3c50317335 to your computer and use it in GitHub Desktop.
Save axurright/1fbf64a645d4fdd40696df3c50317335 to your computer and use it in GitHub Desktop.

Revisions

  1. axurright revised this gist Dec 6, 2024. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions recap1.dart
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    import 'dart:io'
    void main() {
    print("Oh, user, I haven't seen you in a while! How many days have passed?");
    passedDays = stdin.readLineSync();
    print("Oh man, It's been $passedDays since I have seen you! Hopefully you are fine.");
    String? passedDays = stdin.readLineSync();
    if (passedDays != null) {
    print("Oh man, It's been $passedDays since I have seen you! Hopefully you are fine.");
    }
    }
  2. axurright created this gist Dec 6, 2024.
    6 changes: 6 additions & 0 deletions recap1.dart
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    import 'dart:io'
    void main() {
    print("Oh, user, I haven't seen you in a while! How many days have passed?");
    passedDays = stdin.readLineSync();
    print("Oh man, It's been $passedDays since I have seen you! Hopefully you are fine.");
    }