1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00
programming-challenges/challenges/hello-world/solutions/dart/function/solution.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!');
}