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 to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
Arrays in COBOL/400
How COBOL helps Mainframe to maintain large records ???
what is the difference between section,paragraph and sentences
What are Fillers ? What is the actual use of Fillers ? With small/simple Example..
what is the difference between SEARCH and SEARCHALL?
Explain the difference between section, paragraph and sentences?
i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?
When search all is used in cobol program without sorted input data
Trying to help a friend... How do you code screen I/O without a DDS? I know it can be done, because for a short time, I worked for a company that did it. It was just too long ago for me to remember what was involved.
write a cobol program to display prime numbers between 1 to 100?