answersLogoWhite

0

FELD-01 W 6 P VALUE 13 . * DIVIDEND

FELD-02 W 6 P VALUE 05 . * DIVISOR

FELD-03 W 6 P VALUE 00 . * QUOTIENT

FELD-04 W 6 P VALUE 00 . * WORK

FELD-05 W 6 P VALUE 00 . * MODULUS

*

JOB INPUT(NULL)

*

* 13 / 5 = 2 MOD 3

*

FELD-03 = FELD-01 / FELD-02 . * 13 / 5 ==> 02

FELD-04 = FELD-02 * FELD-03 . * 2 * 5 ==> 10

FELD-05 = FELD-01 - FELD-04 . * 13 - 10 ==> 03

*

DISPLAY FELD-01 ' / ' FELD-02 ' = ' FELD-03 ' MOD ' FELD-05

*

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What is the function of the modulus operator in most languages?

Calculating the modulus of two numbers. Are you surprised now?


What are the modulus units used for in mathematics?

Modulus units in mathematics are used to measure the distance between two points on a number line or to find the remainder when dividing two numbers.


Does modulus of negative numbers exists?

they do if you want them to.


How do you declare an array in easytrieve?

your wish


Is young's modulus storage modulus?

The Young modulus and storage modulus measure two different things and use different formulas. A storage modulus measures the stored energy in a vibrating elastic material. The Young modulus measures the stress to in still elastic, and it is an elastic modulus.


Does Easytrieve have a version of the COBOL uppercase function?

no


How the procedure for sign modulus method and 2's complement method for storing positive and negative numbers?

explain the procedure for sign modulus method and 2's complement method for storing positive and negative numbers?


What are the arithmetic operator available in c?

The following arithmetic operators are available in c:+ - addition -> used to add two numbers- - subtraction ->used to subtract two numbers* - multiplication ->used to multiply two numbers/ - division -> used to divide two numbers% - modulus -> used to determine the remainder when two numbers are divided. a%b return the remainder when a is divided by b(can be used with only integer data types).


Why is the function in excel that finds the remainders of two numbers called MOD?

It is the short for MODULUS DIVISION which is an operation of division that aims to get the ramainder rather than the whole number.


What is the difference between Young's modulus and elastic modulus?

Young's modulus and elastic modulus are often used interchangeably, but there is a subtle difference between the two. Young's modulus specifically refers to the ratio of stress to strain in the elastic region of a material's stress-strain curve, while elastic modulus is a more general term that can refer to any modulus of elasticity that describes a material's ability to deform elastically under stress.


How do you convert uppper case character to lower case in easytrieve?

There are a couple of different ways to convert upper case characters to lower case in easytrieve. One is to use the INSPECT/CONVERTING command.


How to declare an array in easytrieve that occurs 99999 times?

WS-DAYS-OF-WEEK W 10 A OCCURS 99999 refer: http://code.xmlgadgets.com/2010/09/20/occurs-clause-in-easytrieve/