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

How many divisions we have in Cobol ?

4 Answers   Wipro,


what is level 66 means??

7 Answers  


What is IMPACT analysis?

2 Answers   IBM,


What are the cobol coding sheets?

0 Answers  


We have 3 programms A,B,C.In the middle of the program A the controls goes to program B and in the middle of the program B control wants to go program C,after completion of program C again control comes to program B and again after completion of program B control comes to program A.How the process will takes and what are the controls we use for that process.If it is possible anybody of you explain with example?

5 Answers   IBM,






what happens if parmparameter passes zero bytes to the program

0 Answers   HSBC,


What is the difference between Perform para and perform asaection in cobol?

3 Answers   TCS,


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


What is SDSF?

3 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  


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

0 Answers  


what is amode(24), amode(31), rmode(24) and rmode(any)?

0 Answers  


Categories