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

This question is related to TCS Interview

Showing Answers 1 - 9 of 9 Answers

jimmy

  • Dec 30th, 2006
 

i found that, it shows an error. it says:"VALUE disallowed.....size conflicts...."decimal point might have been making problems...

  Was this answer useful?  Yes

Ashish

  • Aug 23rd, 2012
 

Tested the prog actually on Mf

Ans is :
A B C :100 00 100

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions