mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-11-09 22:08:58 +01:00
12 lines
202 B
Dart
12 lines
202 B
Dart
|
import 'dart:io';
|
||
|
|
||
|
String readLineSync() {
|
||
|
String? string = stdin.readLineSync();
|
||
|
return string == null ? '' : string;
|
||
|
}
|
||
|
|
||
|
void main() {
|
||
|
String input = readLineSync();
|
||
|
print('Hello, $input!');
|
||
|
}
|