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
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 |
When search all is used in cobol program without sorted input data
It's possible use %TRIM statement like rpgile?
How u detect record is locked in Cobol/400 ? Wat is the solution for that ?
what is PERFORM? and its types?
What are fillers? What is the actual use of fillers? With mall/simple example?
Define redefine and its syntax?
What is the syntax of redefine?
define comp?
How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code
What are the types of perform?
How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC
Code how to read 5th element of the array?