1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-07-18 02:20:12 +02: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!');
}