Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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:

COMPUTE TOTAL = AMOUNT-1 + AMOUNT-2.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook