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

study the following
01 A PIC 99V0 VALUE 5
01 B PIC 9V9 VALUE 6
01 C PIC 99V9 VALUE 2.5
01 D PIC 99 VALUE 3
COMPUTE A ROUNDED B C = A+B*C/D
ON SIZE ERROR PERFORM PRINT-ERROR
the comments of A.B.C after execution of the above
statement are
a.A=10 B=0 C=10
b.A=10 B=9.9 C=9.9
c.A=10 B=0 C=9.9
d.A=10 B=6 C=10

Answer Posted / kamesh

5+6*2.5 div 3=10 so a=10,b=0 bcz truncated 1.and c= 10.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1278


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

1305


What the difference is between continue and next sentence?

1219


I have a File that has duplicate records. I need only those records that occur more than thrice.?

10007


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

1381


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

2516


What type of SDLC u followed? Why?

2049


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

1251


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

1196


What is Pic 9v99 Indicates in COBOL?

1339


What is a report item?

1194


HOw can I get the negative sign while deduct high value from low value

2304


What rules are to be followed while using the corresponding options?

1125


How to know whether the module is dynamical or statistical?

1212


How arrays can be defined in COBOL?

1298