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 happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
How many maximum number of procedures can we write in one COBOL program?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is "Call by content" and "call by reference"?
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
What is amode(31)
can we use variable picture clause as xx.99 in cobol.
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.