Thu Nov 08, 2012 11:11 am
There are two arrays of length 50 each. Each of these has initially m (m<50) elements. First array contains names and the second array contains numbers such that jth name in arr1 corresponds to jth number in arr2. Write a program which asks the user to enter a name prints its corresponding number in arr2. And if that name is not present in arr1, ask the user to input a number and then if the size permits, add the name and number to arr1 and arr2 respectively at the end and update the size(m) list.
Thu Nov 08, 2012 4:36 pm
Can you please post the code that we can check it ?
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.