LastNameFirstNameWeek3.java
Create & name a file with the following format: LastNameFirstNameWeek3.java. Example:The instructor would create a file with the following name: DeweyKenWeek3.java Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter. Only submit the.java file needed to make your program run. | 5% |
LastNameFirstNameWeek3.java
| 90% |
Upload your document to the Dropbox. NOTE: Complete your activity and submit it to the Dropbox. If needed, click on the Help button above for more information on Course Tools/Using the Dropbox. | 5% |
Total | 100% |
Example 1 Please enter your first name: Ken Please enter your last name: Ken Please enter your age in years: 48
Hello Ken Ken, your first and last name are the same
The length of your first name is: 3 The length of your full name is: 6
Inits ASCII Value K 75 K 75
You are now 48 years old.
In one year you will be 49. In five years you will be 53.
Example 2
Please enter your first name: Ken Please enter your last name: Dewey Please enter your age in years: 48
Hello Ken Dewey, your first and last name are different
The length of your first name is: 3 The length of your full name is: 8
Inits ASCII Value K 75 D 68
You are now 48 years old.
In one year you will be 49. In five years you will be 53. |
13 years ago
Purchase the answer to view it

- lastnamefirstnameweek3.java