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

how do you reference the fixed unblock file formats from cobol programs

1174


What is cobol?

1194


) how do u code after getting data?

2074


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1231


Name the sections present in data division.

1175


What the difference is between continue and next sentence?

1104


what is amode(24), amode(31), rmode(24) and rmode(any)?

1092


What is the problem of ordered sequential files access?

1109


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2337


What are the different types of condition in cobol and write their forms.

1064


What guidelines should be followed to write a structured cobol prgm?

1089


what happens if parmparameter passes zero bytes to the program

2082


How do u write test cases?

2012


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

2324


what is the difference between COBOL2 AND COBOL390?

2987