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 ATLProg Your Own Question
ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9151
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
44910485
Type Your Homework Question Here...
ATLProg is online now
A new question is answered every 9 seconds

YourNameProg3.java Provide a main method. It should: •Get

This answer was rated:

YourNameProg3.java
Provide a main method. It should:
•Get input for a string and a shift value
•Convert to upper case
•Only perform the following items on alphabetic characters between A and Z
•Utilize a for loop which uses postfix incrementing operator
oConvert character to its ASCII equivalent (type cast)
oShift buy shift value entered above
If you reach end of alphabet, wrap around
Example: A shifted to the left 2 would become Y
oConvert back to its character equivalent (type cast)
oOutput the new character
•Get input for a string and a shift value
•Perform same steps above to convert the encrypted text back to plain text
•Be sure to get input again as a different encrypted text may be entered
Utilize postfix increment/decrement operations and compound assignment operators for all math. Example: x++ or x+=2.

Overall Requirements
Provide a complete program that performs a simple substitution cipher. The program should take plain text and a shift value and produce the encrypted text. Then it should take encrypted text and a shift value and produce the plain text once again. A different encrypted text and shift can be entered so make sure to get input.
Example:
EASTER shifted by 3 to left would become HDVWHU
HDVWHU shifted by 3 to right would become EASTER
This is how the early Caesar Cipher worked.
Hello Welcome. Thank you for your question, Im ATLProg and Ill try to help you.

How soon do you need this answer ?How soon do you need this answer ?
Customer: replied 4 years ago.

I hope you received my reply

Will send it in 2 mins
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
ATLProg and other Homework Specialists are ready to help you
Customer: replied 4 years ago.

Thanks man your a lifesaver. You definately get a 5 in my book. You will be hearing from me again soon.

You are welcome !
Please start your question text with "For ATLProg Only" to request me again, next time you need help!
http://www.justanswer.com/homework/expert-atlprog/ - Please bookmark this link to ask new question.
Customer: replied 4 years ago.

hello this was a great program but can this also be written in a different way? I think someone may have asked the same question a few days before myself.

yes, but I would recommend personalizing it on your own by changing variable names or something and moving functions in class...if you still want me to do it I can...
Customer: replied 4 years ago.

yes please thank you!


 

See if this is better ... Download Answer Link
Customer: replied 4 years ago.

Everything looks pretty good so far still a little similar.If you can change a few other things for me than we should be okay and ready to complete thank you and I will add a tip afterwards.

ok..try this link .. Download Answer Link
Customer: replied 4 years ago.

Okay this one looks way better thank you very much I will enclose a tip and have a great night!


 

welcome