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

What is rmode(any) ?

1184


What is the difference between next sentence and continue in cobol programing language?

1163


Whats the difference between search & search ALL?

6367


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1454


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

1119


What are the cobol coding sheets?

1180


Define cobol?

1313


How many sections are there in data division in COBOL?

1081


How are the next sentence and continue different from each other?

1227


Write the code implementing the perform … varying.

1015


What do you understand by psb and acb?

1059


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

3211


What is the difference between Call and a Link?

1123


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

1094


Write a cobol program making use of the redefine clause.

1123