A Simple Interactive Program

Let’s study the command line to pass input to an application in Dart.

Overview

In many cases, we come upon scenarios where we need to take input from the user and print that input onto the console

Let’s write a program for a personalized greeting application. The program will ask the user for their name and then display a personalized greeting for that user.

The coding program in this lesson requires input from the user in order for it to execute successfully.

After you have typed the input, press RUN to execute the program.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy