How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask John Your Own Question

John
John, Engineer
Category: Homework
Satisfied Customers: 769
Experience:  Bachelors Degree
Type Your Homework Question Here...
John is online now
A new question is answered every 9 seconds

I am trying to get this same program to work. I have most of

Customer Question

I am trying to get this same program to work. I have most of it done but can not figure it out. http://www.justanswer.com/computer-programming/67cyb-friedmanmatthewweek3-java-use-scanner-class-accept.html


 


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.

Submitted: 8 months ago.
Category: Homework
Expert:  ATLProg replied 8 months ago.
Hello Welcome. Thank you for your question, I’m ATLProg and I’ll try to help you.

How soon do you need this answer ?
Customer: replied 8 months ago.

Hello. Thanks for helping.


 


I need this by midnight tonight.

Expert:  ATLProg replied 8 months ago.
Can you please send me a pdf/word document/URL of your assignment description ?
Customer: replied 8 months ago.


I could upload the word doc so here are pictures.


 



 



 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 

Customer: replied 8 months ago.
























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



  • Use the Scanner class to accept input from the user.

  • Prompt the user for their first name, last name, and age each individually.

  • Use string concatenation to obtain the user’s full name.

  • Use equals() and If their first and last name are the same print: “Hello First Last, your first and last name are the same”

  • If your first and last name are different, print: “Hello First Last, your first and last name are different”

  • Print the length of their first name and of their full name.

  • Use the charAt() method of the String class to find the user’s initials. Print these, followed by their ASCII value, in tabular format (see example)

  • Print out the name per example below.

  • Using an increment operator, increase the age by one output per example below. Do not create a new variable

  • Using compound assignment operators, increase the age by 4 more and output the new age. Do not create a new variable.



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.


 



Expert:  ATLProg replied 8 months ago.
ok, Considering the effort/urgency does price of $50 sound ok ?
Customer: replied 8 months ago.


I am poor and knowing this is a simple program I really cannot do that much I can send you what I have and I only need the same/different line, the length of the first name, and length of the last name lines and adding the one and five years. Will that work?


 


 

Expert:  ATLProg replied 8 months ago.
ok, I will take a look at what you have.. Can you please send me the files you have been working with ?
Can you please go to www.ge.tt and upload your file ? Once you do that you will get a page that has the "Download Link". Copy the "Download Link" and please paste it in your reply here.
Customer: replied 8 months ago.

I'll send it in a few. There is a lot of notes in it that I need to clean u

Customer: replied 8 months ago.

So just ignore those.

Customer: replied 8 months ago.
Expert:  ATLProg replied 8 months ago.
Unfortunately, I am not able to assist you with your question, so I will open it to all Experts and if someone can assist you, they will post a reply here on this page (No need to create a new question). Best wishes.
Expert:  John replied 8 months ago.
I am John
i will help you
Expert:  John replied 8 months ago.
Download the answer from below link

http://ge.tt/8sPzwHy/v/0


Hope this helps

For your future questions , Please post your questions starting with "For John"
If you need any changes, ask me before rating this ,Otherwise rate my answer as "Excellent"


Customer: replied 8 months ago.


Hello John,


 


Sorry for the late response I was tied up with kids for a bit.


 


Everything looks great with the exception of the choice. I do not need one on my program and I was trying to take it off myself but keep getting errors. Would you be able to take it off for me?


 


Thanks,


 


Keivn

Expert:  John replied 8 months ago.
which compiler you are using
you need to repeat it again or not
Customer: replied 8 months ago.

Never mind Sir,


 


I figured it out and all is well now. I will send your feed back as excellent. I might need you in the future and I will ask for you by name. Thank you again for saving me time.


 


 

Expert:  John replied 8 months ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
John, Engineer
Category: Homework
Satisfied Customers: 769
Experience: Bachelors Degree
John and 9 other Homework Specialists are ready to help you
Customer: replied 8 months ago.


I have a new problem. How much to get this done by 1700 on this Sat?


 


http://ge.tt/3uOiNP01/v/0


 

Expert:  John replied 8 months ago.
ok let me check this
Customer: replied 8 months ago.

Never mind. I got it done thank you.

Expert:  John replied 8 months ago.
ok see you

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3121
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3035
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2457
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2341
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1975
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1873
    Bachelors Degree and CPA with Accounting work experience