String Palindrome Program In Cobol

Posted on
String Palindrome Program In Cobol 4,8/5 1348reviews
C Program For String Palindrome

Dio Della Mia Lode Pdf Reader. Code, Example for Program to check whether the input string is palindrome or not in Assembly Language.

Code for Program to check whether the input string is palindrome or not in Assembly Language DATA SEGMENT STR1 DB 'ENTER YOUR STRING HERE ->$' STR2 DB 'YOUR STRING IS ->$' STR3 DB 'REVERSE STRING IS ->$' INSTR1 DB 20 DUP( '$') RSTR DB 20 DUP( '$') NEWLINE DB 10,13, '$' N DB?

Hi, we can reverse the string using cobol prog like this: IDENTIFICATION DIVISION. ENVIRONMENT DIVISION. DATA DIVISION. WORKING-STORAGE SECTION.

01 STR1 PIC X(7) VALUE IS 'MANOJ'. 01 STR2 PIC X(1). 01 STR3 PIC X(7) VALUE SPACE. *01 STR4 PIC X(7). R U Still Down Remember Me Rar. 01 STRLEN PIC 9(1). 01 CTR1 PIC 9(1) VALUE IS 1. PROCEDURE DIVISION.

INSPECT STR1 TALLYING STRLEN FOR CHARACTERS. DISPLAY STRLEN. PERFORM UNTIL STRLEN.