Question: apse Lesson 3 B Lab 1 - NAME - Data File Input Java Module - Lesson 3 B - Lab 1 - Name Write a

apse
Lesson 3B Lab 1- NAME - Data File Input
Java Module - Lesson 3B - Lab 1- Name
Write a program to input from a data file your first name, middle initial, and last name into three separate variables called first (String), middle(char), and last(String). Output your name three different ways as shown below. (Hint: The String.charAt (0) command can also be used in output statements to show the first letter of a word.) Label the Input and Output sections with comment lines and be sure to elose the input object.
Data File Input: ("1ab3B1, in")(Usc your own name)
John
B
Owen
Expected Output
John B. Owen
Owen, John B.
JBO
John B. Owen
Owen, John B.
JBO
 apse Lesson 3B Lab 1- NAME - Data File Input Java

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!