2.2. Name and Initials - Java

in java •  9 years ago  (edited)

Starting out with Java: From control structures through objects

Chapter 2

Programming Challenges

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

2. Name and initials 


Write a program that has the following String variables: firstName, middleName, and lastName. Initialize these with your first, middle, and last names. The program should also have the following char variables: firstInitial, middleInitial, and lastInitial. Store your first, middle, and last initials in these variables. The program should display the contents of these variables on the screen.

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Bitcoin Address - 12uPbtoTBgxKG3ppxC2NSJYmmr5qipsbds

Ether Address - 0xb6f7D2d2127a56aF7D55CdBD7d327439A9005abF

Change tip address - kakradetome.tip.me

email - [email protected]


Thanks :)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!