Question: Write a java CLI application that accepts and display user address. Your application must include the following: An integer variable to store the house number.
Write a java CLI application that accepts and display user address.
Your application must include the following:
An integer variable to store the house number.
$ String variables to store Street name and City name.
Integer variable to store the area code.
Display user address as a block, see the sample snippet below.
Sample output:
Enter house number:
Enter street name:
Couze Street
Enter city name:
Johannesburg
Enter area code:
Your address: Couze Street
Johannesburg
Your figure must inherit the basic characteristics of the above snippet, but you could enhance your application.
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
