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



what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the r..

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 the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the r..

Answer / vijaya sharma

c.C=B/A

Is This Answer Correct ?    16 Yes 2 No

what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the r..

Answer / dimpy19

c. B/A

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

where do u use low-value and high value in cobol

3 Answers   CGI,


What is the Purpose of Pointer in the string?

0 Answers  


What COBOL construct is the COBOL II EVALUATE meant to replace?

1 Answers  


In COBOL, what is the different between index and subscript?

0 Answers   TryTechnicals Pvt Ltd,


how many divisions are there in cobol

3 Answers   ADP,






what is srange and nosrange pls reply to ths question ?

2 Answers   L&T,


How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?

1 Answers  


How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.

5 Answers  


I want ALL jcl ERROR cods

1 Answers  


Explain how you can characterize tables in cobol?

0 Answers  


How to read records from flat file in reverse order through COBOL program?

14 Answers   Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,


What is reference modification? What is UNION in sql and syntax? What is the difference between GDGS and VSAM? Which is prefer one? What is processing groups in endevor?

1 Answers   Kuwait Oil Company,


Categories