COBOL: ADD or Subtract Sample Logic

The COBOL add or subtract formats I have given in this post. Based on your program requires you can choose.