Question: 26) Write the Java code to declare a character variable called middle Initial Name and assign the character value of your Middle Initial Name to
26) Write the Java code to declare a character variable called middle Initial Name and assign the character value of your Middle Initial Name to it.
27) Write the Java code to Prompt the user to Enter your First Name: .
28) Write the Java code to declare a String variable so you can store the String value of user First Name in it.
29) Write the Java code to print to Console the message Your First Name is : followed by what you stored in the First Name variable
30)Write the Java code to Prompt the user to Enter your Last Name:
31)Write the Java code to declare a String variable so you can store the String value of user Last Name in it.
32)Write the Java code to print to Console the message Your Last Name is : followed by what you stored in the Last Name variable
33)Write the Java code to declare a String variable called Full Name.
34)Write the Java code to Join (Concatenate) the First Name, a space and Last Name and store the result in Full Name variable.
35)Write the Java code to print to output Console the message Your Full Name is = and then join the Last Name variable. 36)Write the Java code to print to Console the message Your Full Name is = and then use Format Specifier %s to print the String value stored in Last Name variable.
37)Write the Java code to Prompt the user to Enter Hours Worked: .
38)Write the Java code to declare a String variable so you can store the user Hours Worked in it.
39)Write the Java code to declare an integer variable called hours. 40)Write the Java code to Convert To Integer the String number stored in strHours and store it in integer variable hours.
41)Write the Java code to Prompt the user to Enter Hourly Rate: .
42) Write the Java code to declare a String variable so you can store the user Hourly Rate in it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
