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 need the code for this program in cobol.
2 + 1 = 3
4+3=7
6+5=11
8+7=15
10+9=19

Answer Posted / aj

do a loop on below equation . Varying n from 1 to required
value
(2n) + (2n-1)

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between PIC 9.99 and PIC9v99?

1277


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

1098


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1116


What are the various section in data division and briefly explain them.

1108


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

1230


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2413


What is redefines clause in COBOL?

1245


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1141


Name the divisions, which are available in a cobol program?

1167


What is the difference between comp and comp-3?

1130


what happens if parmparameter passes zero bytes to the program

2081


What are the pertinent COBOL commands?

3102


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2483


Name some of the examples of COBOl 11?

3082


What are the different open modes available in cobol?

1142