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

example for sub strings ? and refernce modifications whit output pls

1846


What is amode(24)?

682


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

1651


What is length is cobol?

650


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1936






EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2057


What is link edit in cobol?

772


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1770


How you can read the file from bottom?

660


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2098


Mention the guidelines to write a structured cobol program?

620


how do you reference the ksds vsam file formats from cobol programs

666


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

996


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

1547


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

756