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 |
What is an index for tables?
What is Static and Dynamic linking ?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the use of intialize verb?
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
what is the advantage of using redefines instead of delaring the variables ?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
01 A pic 9(100) find record length of it
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How can you pass values from COBOL program to non-COBOL programs?
How can we pass data from cobol to JCl?
db2 variable decimal(15,2) what is the equalent size of cobol variable