Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an ALP that will examine a set of strings. The length of each string is four characters. The number of strings to be examined

Write an ALP that will examine a set of strings. The length of each string is four characters. The number of strings to be examined is stored in location 'STR1'. The modified strings are stored starting from location 'DAT1'. The ALP should scan each string and see if it is equal to' '(four blank spaces). If yes, all strings that follow this string of four

image text in transcribed

blank spaces should be reversed until the next string of fou blank spaces is encountered.

For e.g. if the set of strings are: 'math', 'have',' , 'bury', 'mine', 'dine',' ', 'hell', 'deep', 'tree The ALP should change it to 'math', 'have',' , 'yrub', 'enim', 'enid',' ', 'hell', 'deep', 'tree' Tave the cam avion submit a cinale DDC file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions