Write a program to create two arrays


Problem:

Question- Write a program to create two arrays namely asciiArray and decimalArray of 52 elements each. In the asciiArray, store letters of the English alphabet; both lower and upper case letters. In the decimalArray, store the corresponding decimal values of each of the letters in the specific position in the asciiArray. For example,

If asciiArray[0] holds ‘A' then? decimalArray[0] will hold the value 65.

Pass these arrays to a method displayDecValue. Inside the method, prompt the user to enter any of the letters of the English alphabet and display the corresponding decimal value.

Please describe the code of the program.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program to create two arrays
Reference No:- TGS0892989

Expected delivery within 24 Hours