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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to access the file from prodution from changeman tool and to submit a file to production

6662


For rewrite, why is it mandatory that file needs to be opened?

613


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

691


Are you comfortable in cobol or jcl?

633


A table has two indexes defined. Which one will be used by the SEARCH?

745






What are the cobol coding sheets?

655


example for sub strings ? and refernce modifications whit output pls

1833


Can we change the password using ALTER? anyone tried and changed?

1535


What are the various section in data division and briefly explain them.

682


how do you reference the printer file formats from cobol programs

643


Differentiate between structured cobol programming and object-oriented cobol programming.

657


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


How do you reference the following file formats from cobol programs?

687


What is a report item?

729


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5353