01 A PIC 9.
01 B PIC 99V1.
01 C PIC 99.
MOVE 1 TO A.
MOVE 0.2 TO B.
COMPUTE C ROUNDED TO 3/3 + A.

Answers were Sorted based on User's Feedback



01 A PIC 9. 01 B PIC 99V1. 01 C PIC 99. MOVE 1 TO A. MOVE 0.2 TO B. COMPUTE C ROUND..

Answer / kavitharameshchandra

2.

Is This Answer Correct ?    13 Yes 1 No

01 A PIC 9. 01 B PIC 99V1. 01 C PIC 99. MOVE 1 TO A. MOVE 0.2 TO B. COMPUTE C ROUND..

Answer / narendra kumar

The correct answer is 02.
Compute C rounded = 3/3 + A.
Result will be 02.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL400 Interview Questions

What are the types of perform?

0 Answers  


How to update data area in cobol 400 program?

0 Answers  


What are fillers? What is the actual use of fillers? With mall/simple example?

0 Answers  


Explain how to detect record is locked in cobol/400? What is the solution for that?

0 Answers  


what is redefine and its syntax?

6 Answers   HCL,






How to detect record is locked in cobol/400? What is the solution for that?

0 Answers  


Explain how to update data area in cobol 400 program?

0 Answers  


what is the difference between comp & comp-3?

4 Answers  


What are Fillers ? What is the actual use of Fillers ? With small/simple Example..

1 Answers   Patni,


It's possible use %TRIM statement like rpgile?

2 Answers  


How we create file in COBAL400

1 Answers  


What is sort? And its syntax?

0 Answers  


Categories