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 numberedthroughinclusiveThe program must have a repeating menuusing a switch statementwith instructions that allow the user to display theASCIIchart using a while loop,a dowhile loop and a forloop.Nonprintable charactersthose below and those that are part of the Extended ASCII Chart or Unicode aboveshould 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 andusing aswitch statementand 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!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
