print"Enter the number of Cricketers: ";
print"Enter Cricketer name: ";
print"Enter a number: ";
print"Cricketer's name and the corresponding number are\n";
format STDOUT=@<<<< @>>>>
I have this code. The question is "Write a program that asks the user for a list of cricketer’s names and then a number. Print the cricketer’s name that is equivalent to the number as index."
I hope you can understand what I need. I need that code to print result in a formatted style like:
Answers to email@example.com are also welcome...
Thank you in advance........