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

can i anyone tell me how to use copybooks in cobol

1 Answers  


What is sort?

0 Answers  


How we can update data area in cobol 400 program?

12 Answers   Accenture,


what is the cobol compiler?

2 Answers   TCS,


What is the syntax of redefine?

0 Answers  






How COBOL helps Mainframe to maintain large records ???

1 Answers   Satyam,


WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?

2 Answers  


How u detect record is locked in Cobol/400 ? Wat is the solution for that ?

2 Answers   CGI,


Define sort?

0 Answers  


Explain the difference between comp & comp-3?

0 Answers  


How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code

5 Answers   CGI,


Arrays in COBOL/400

2 Answers   Polaris,


Categories