**is there something wrong with the declaration of the decimal numbers.
 I wanted to perform decimal addition and subtraction in COBOL.**

<http://www.compileonline.com/compile_cobol_online.php-->> i used this website for my code given below

```
 IDENTIFICATION DIVISION.  

 PROGRAM-ID. HELLO-WORLD.

 DATA DIVISION.

 WORKING-STORAGE SECTION.

 01  A   PIC 99V99 VALUE 1011.

 01  B   PIC 99V99 VALUE 2022.

 01  C   PIC 99V99 VALUE 3333.

 PROCEDURE DIVISION.

 ADD A TO B GIVING C.

 DISPLAY C.

 SUBTRACT A FROM B GIVING C ROUNDED.

 DISPLAY C.

 DISPLAY B.

 STOP RUN.

```