Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
17
Task/User-input-Text/COBOL/user-input-text.cobol
Normal file
17
Task/User-input-Text/COBOL/user-input-text.cobol
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
IDENTIFICATION DIVISION.
|
||||
PROGRAM-ID. Get-Input.
|
||||
|
||||
DATA DIVISION.
|
||||
WORKING-STORAGE SECTION.
|
||||
01 Input-String PIC X(30).
|
||||
01 Input-Int PIC 9(5).
|
||||
|
||||
PROCEDURE DIVISION.
|
||||
DISPLAY "Enter a string:"
|
||||
ACCEPT Input-String
|
||||
|
||||
DISPLAY "Enter a number:"
|
||||
ACCEPT Input-Int
|
||||
|
||||
GOBACK
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue