Answers for "dart keybord input"

0

dart keybord input

// importing dart:io file
import 'dart:io';
 
void main()
{
    print("Enter your name?");
    // Reading name of the Geek
    String? name = stdin.readLineSync();
 
    // Printing the name
    print("Hello, $name! \nWelcome to GeeksforGeeks!!");
}
Posted by: Guest on March-24-2022

Code answers related to "Dart"

Browse Popular Code Answers by Language