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...

Consider the following COBOL entries
05 X PIC 99 VALUE 10.
ADD 40 X TO X.
COMPUTE X = 3 * X - 40.
The result in X is

Answer Posted / suputhru

I agree with Rama Krishna ans: 10

05 X PIC 99 VALUE 10.
ADD 40 X TO X. ----------- x=x+40 x=10+40 x=50
COMPUTE X = 3 * X - 40.------x=(3*50)-40 x=150-40 x=110 since x pic 99--


finally x=10

antheeeeeeeee.

Is This Answer Correct ?    1 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

1608


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

1297


Write the code to count the sum of n natural numbers.

1259


Write some characteristics of cobol as means of business language.

1198


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

1211


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

1330


When is inspect verb is used in cobol?

1315


What is perform what is varying?

1224


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1397


what is search and searchall?what is the diffrence between them?give an best example?

6930


How to know whether the module is dynamical or statistical?

1213


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3319


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2640


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

2523


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5429