Ahmed Z.

asked • 11/30/21

plz can u help to solve this with OUBUILD programe

Suppose you have a set of numbers and they are in ascending order such as (6,2,9,5,8,7). In this set we have six pairs that are out of this rule or sequence as following :

(6,2),(6,5),(9,5),(9,8)..etc


1.   You are requested to write an algorithm to display how many numbers which they are out of order.

2.   Build your algorithm by using OUBUILD

3.     Provide two screenshots with different outputs.

1 Expert Answer

By:

Kojo I. answered • 09/26/24

Tutor
5 (4)

Computer Science, Programming

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.