Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a cobol program.Read two integer arrays from terminal using ACCEPT verb.Arrays may be different sizes or same size. read array size also from terminal.Compare

write a cobol program.Read two integer arrays from terminal using ACCEPT verb.Arrays may be different sizes or same size. read array size also from terminal.Compare two arrays and print matching elements from both arrays.
For example:-
4->1st array size
5
2
1
3
5->2nd array size
1
2
6
3
11
12
Output
1
2
3
matching from both arrays.
Please compile program and make it compile free and run for above input.

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

Step: 3

blur-text-image

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago