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 |
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
Explain the difference between search and searchall?
How we create file in COBAL400
What are fillers? What is the actual use of fillers? With mall/simple example?
What is input procedure?
Define sort?
What is sort? And its syntax?
How we can update data area in cobol 400 program?
What are the types of perform?
What is the actual use of fillers?
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
It's possible use %TRIM statement like rpgile?