Question: How does COBOL handle decimal arithmetic?Answer: COBOL provides the COMPUTE statement for decimal arithmetic. It allows the programmer to perform arithmetic operations on numeric data items with explicit precision.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users: