Question: Design and write a program in Java that will write out all the printable characters in the ASCII chart with their corresponding ASCII code values.

Design and write a program in Javathat will write out all theprintablecharacters in theASCIIchart with their correspondingASCIIcode values.This means the characters numbered33through126,inclusive.The program must have a repeating menu(using a switch statement)with instructions that allow the user to display theASCIIchart using a while loop,a do-while loop and a for-loop.Non-printable characters(those below33) and those that are part of the Extended ASCII Chart or Unicode (above126)should be skipped,but the rows should still line up neatly.In each case,the chart should look neat and readable,and each version of the chart should appear to be identical,except for a title at the top identifying which type of loop produced the chart.One option on the menu should allow the user to exit the program. In your program you must write several loops,including ones to write out the menu,to read in an option and(using aswitch statement),and three loops to draw the chart using each type of loop.Note that the idea is to use three different types of loops to produce the charts.Just using System.out and typing it in one row at a time will not be acceptable.You should also have a working exit option in your menu. If i could just have my code fixed up and explain what I did incorrectly thank you!
Design and write a program in Java that will

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!