what is the result of the following?
DIVIDE A INTO B GIVING C.
a.C=A/B
b.the reminder of B/A is stored in C
c.C=B/A
d.the reminder of A/B is stored in C
Answers were Sorted based on User's Feedback
Answer / sunaina
Here in the above formula, we are Dividing the value of B
by A, and storing the value into C.
Ex:
A=10
B=20
then
C= B/A i.e, C= 20/10
the value 2 is stored in C.
So the result is:
C=B/A.
| Is This Answer Correct ? | 17 Yes | 2 No |
Should I use STOP RUN in the sub program??why?
What is the meaning of 'TALLING' verb in cobol?
what is the difference between Plan & package
When can the USING phrase be included in the call statement ?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?
COMP field occupy ?
What is EIBCALEN? Why it is used?
How do you code Cobol to access a parameter that has been defined in JCL?
how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?