Created
December 17, 2019 17:40
-
-
Save bacalj/a980f9d700d7bd51e54d481c1e7f201d to your computer and use it in GitHub Desktop.
getting input old timey way in dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:io'; | |
| void main() { | |
| stdout.writeln('who r u?'); | |
| String input = stdin.readLineSync(); | |
| return respondo(input); | |
| } | |
| void respondo(String responso){ | |
| print('Hello, $responso'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment