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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!