Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have 2 dimensional array with having 100 elements. So how
to find the 11th item in an array?

Answer Posted / dipali jaju

give subscript as 11 ,like if we have temp as table name,
then
display "temperature : " temp(11)

but if table is two dimentional then
__________________________
| 1 | 2 |
|_________ _|____________|
| | | | |
|0-25 |26-50|51-75|76-100|
|_ele_|_ele |_ele |_ele |

so to fetch 11 the record we have to write temp(1,11)

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1530


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1134


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1234


Write a program to explain size error.

1193


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1231


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1142


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1190


What are the rules of the move verb?

1254


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9093


Which division and paragraphs are mandatory for a COBOL program?

1266


How do u write test cases?

2062


Have you used comp and comp-3 in your project? And how?

2472


A table has two indexes defined. Which one will be used by the SEARCH?

1281


What is the difference between binary search and sequential search?

1081


Can a Search can be done on a table with or without Index?

1280