Answered You can buy a ready-made answer or pick a professional tutor to order an original one.

QUESTION

Grading Information: This Program is due on Date Specified.

Grading Information: This Program is due on Date Specified.Comments are REQUIRED; flow charts and pseudocode are NOT REQUIRED.DirectionsPointsThe files must be called <LastInitialFirstInitialUnit3Ch12.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 the program run. Do not submit the .class file or any other file.5%Style ComponentsInclude properly formatted prologue, comments, indenting, and other style elements as shown in Chapter 2 starting page 64 and Appendix 5 page 881-892.5%Topics covered in chapterTopics with * are covered in this assignment.*Integer Types and Floating Point Types*Char Type and ASCII Character Set*Type Conversions*Prefix/Postfix Modes for Increment/DecrementEmbedded AssignmentsConditional Operation ExpressionsShort Circuit EvaluationEmpty StatementBreak statement within a loop*For loop header detailEnumerated types*Hexadecimal, Octal, and Binary NumbersBasic RequirementsWrite a program that gets input for a string, then output this string character by character showing the upper case, lower case, initial case, binary, and hex values of each character.LiFiUnit3Ch12.java Get input for a string Print a header row per the example at the bottom. Loop through the string printing the following:40%o The lower case of each charactero The upper case of each charactero The initial case of each letter (case not changed)o The ASCII value of each charactero The Binary representation of each character broken out in 2 sections of 4 bytes each (see example). Use the Integer wrapper class specifying the radix. Refer to the java docs for more infoo The Hex value of each character output in upper case Use the Integer wrapper class to convert to Hex Hintso There is no need to convert case for non-letters although no points will be taken off if they are convertedo The ASCII, Binary, and Hex are based on the initial case enteredo Notice the binary values are padded with zeros on the left to make them the correct number of digits A separate method would be best to accomplish thisSample output is provided below. Be sure to mimic it exactly except for search value and random numbers.Output of lower case characters correctly10%Output of upper case characters correctly10%Output of ASCII correctly10%Output of Binary correctly10%Output of Hex correctly10%NOTE: Complete your activity and submit it by clicking “Submit Assignment”Total Percentage100%Sample Your output will vary based on input. Notice the space didn’t print upper or lower. Also notice the numbers were printed as normal for both upper and lower.

Show more
adelen
adelen
  • @
  • 1 order completed
ANSWER

Tutor has posted answer for $35.00. See answer's preview

$35.00

****** javautilScanner;public ***** LastInitialFirstInitialUnit3Ch12 * ****** static void ************* ***** * String initialString; ******* ***** * *** Scanner(Systemin); ** to **** input ********************** ***** a string ** *** ******* "); ************* * **************** ** ***** header ************************************************** ******* "Upper" ********* ******* ******** ******* ** ******* *** ****** as *** *** *********** ******* i * ** * < initialStringlength(); **** * ************************************************** initialStringtoLowerCase()charAt(i) initialStringtoUpperCase()charAt(i) ********************** *************************** IntegertoBinaryString(new Integer(initialStringcharAt(i))) ********************** ********************************** * ****

Click here to download attached files: lastinitialfirstinitialunit3ch12.zip
or Buy custom answer
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question