Logo 
Search:

Cobol Articles

Submit Article
Home » Articles » Cobol » Homework HelpRSS Feeds

Program for using sign test for numeric value

Posted By: Adelhard Fischer     Category: Cobol     Views: 4620

Write a program for using sign test for numeric value.

Code for Program for using sign test for numeric value in Cobol

       identification division.
       program-id. signt.
       data division.
       working-storage section.
       01 num1 pic S999 sign leading.
       procedure division.
       para1.
           display "Enter Integer Value:".
           accept num1.
           display num1.
           stop run.

/*********************************************************************************************
OUTPUT
**********************************************************************************************/
Enter Integer Value: 1 +001
  
Share: 


Didn't find what you were looking for? Find more on Program for using sign test for numeric value Or get search suggestion and latest updates.

Adelhard Fischer
Adelhard Fischer author of Program for using sign test for numeric value is from Frankfurt, Germany.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!