Question
What is a prompt?
Step 1
This is usually done by printing a string literal to the screen. For example, in Java, you might use the following line of code to prompt the user to enter their age: \begin{verbatim} System.out.println("Enter your age:"); \end{verbatim} Show more…
Show all steps
Your feedback will help us improve your experience
Adam Conner and 95 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
What is an assignment statement?
What is a program?
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD