Answered You can hire a professional tutor to get the answer.
Write a java program by array: It would be nice to display images by some means other than printing out integers. Ideally, your program should read...
Write a java program by array:It would be nice to display images by some means other than printing out integers. Ideally, your program should read and write images using standard image formats. But actual image formats, like giff, tiff, and jpeg are very complicated. Instead, write a program that displays an image by using rows of characters to represent brightness levels. Write a program that reads in a file that contains one integer per line. Each integer represents one location in the image. Assume that there are 64 rows and 64 columns in the image. Assume that the integers are in the range 0 to 63. For each integer, write out a single character depending on its value: 0 to 7: space 8 to 15: . 16 to 23: , 24 to 31: - 32 to 39: + 40 to 47: o 48 to 55: O above 55: X Don't put extra spaces between characters. Start a new line after each row of 128 characters. This is one place where the switch statement is convenient. To use it, divide the input value by 8 to get the integer for the switch. Or you can use eight if-else statements if you prefer.