Question: This program will show how a program can have prompting and feedback. To do this you must store the values the user gives you and
This program will show how a program can have prompting and feedback. To do this you must store the values the user gives you and print them back.To take in String input from a user you can use innext or innextLine This together for taking a line of input until a newline
would be String yourVariableName innextLine;To take integer input from a user you use innextInt you should assign this to a variable of type int. int yourVariableName innextInt;For this program you will write a program that asks the user for their name along with with their age. See the sample test cases for how your program must be structured. Pay attention to when the first name vs the first and last name.You can combine text and variables in your print statements using concatenation. System.out.printlntext in quotations" variableToPrint;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
