Question: write a cobol program with below requirement. Please dont use any files. Execute code in below compiler and check. onecompiler.com / Cobol why I am

write a cobol program with below requirement.
Please dont use any files.
Execute code in below compiler and check.
onecompiler.com/Cobol why I am giving this compiler is previous submitted question giving compilation erros when I try to compile.
Requirement:-
Read length of array from terminal using accept verb.
Read values of the array from terminal using accept verb.
After sorting array inascending order print in reverse order.
Test case1:-
4-length
2
3
1
4
output:-
4
3
2
1
Test Case 2
5
6
5
4
3
2
1
output
6
5
4
3
2
1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!