Question: A . Arrays Using an integer constant, declare an array of size of 1 0 to store integers. In a loop of your choice, generated

A. Arrays
Using an integer constant, declare an array of size of 10 to store integers.
In a loop of your choice, generated seeded random integers between 97 and 122, inclusive. They are the ASCII values of the characters 'a' through 'z'. You need to generate one integer at a time and store in the array.
In a second loop, display the content of the array but in character format. In other words, instead of displaying the integer stored in the array, you need to display the character equivalent of each randomly generated integer.
Sample outputs:
$.a.out
cfrlifsaiu
$.a.out
datngpsvfo
$.a.out
iqiglzabxw
$.a.out
qrnuhztalz
$ ./a.out
crvoqirfhz
$ ./a.out
hxbihzjeck
$ ./a.out
jcsvzwzwnk
 A. Arrays Using an integer constant, declare an array of size

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 Databases Questions!