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

given the following:
77 A PIC 9V9 VALUE 9.5
77 B PIC 9 VALUE 9.
77 C PIC V9 VALUE 0.8
77 D PIC 9
77 E PIC 9
77 F PIC 9V999
what are the contenta of D E nad F after the following
statements are
executed:
COMPUTE F ROUNDED=A+C/B
MULTIPLY A BY C GIVING E
ADD B C A GIVING D ROUNDED
a.F=9.589 E=8 D=1
b.F=9.589 E=8 D=9
c.F=9.589 E=7 D=9
d.F=9.589 E=7 D=1

Answer Posted / ulhas

Its 100 % 'd' only.
Third statement 'ADD B C A GIVING D ROUNDED' gives
19.3 but as D is declared as pic 9. it will have only 1.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IF I mention stop run in CICS what happens?

2381


How you can characterize tables in cobol?

1203


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2398


) what is the difference between AID and HANDLE AID?

2159


Write the code implementing the perform … varying.

1076


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

1116


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

5376


How to print 10 to 1 if the input have only 10 digit number?

1264


Describe the cobol database components?

1183


What is the difference between perform … with test after and perform … with test before?

1460


What is the difference between PIC 9.99 and PIC9v99?

1342


What is a scope terminator give example?

1116


How you can read the file from bottom?

1159


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2084


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

1285