Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi it's C++ I would like to use while loop for these arrays with this while loop I compare 2 arrays precondition is when I

Hi it's C++

I would like to use while loop for these arrays

with this while loop I compare 2 arrays

precondition is when I compare two arrays one is must be smaller than other

How can I make while loop where is highlighted below code?

image text in transcribed

below the code is what I want to make it

how can I make this simple with while loop?

image text in transcribed

int count e; while (finish[count] I- true&& request work ti) for (int i - e; i row; itt) int temp-o; for (int j -e work[2]) 88 (finish[1] 1- true &&request[1][1]work[e]) && (finish[1] 1- true && request[1][2]> work[1])&& (finish[1] 1- true&& request[1]3]work[2]) && (finish[2] - true && request[2][1] > work[e) && (finish[2]1- true&& request[21[2] work[1]) && (finish[2] 1- true &&request [2][3]work[2])); int count e; while (finish[count] I- true&& request work ti) for (int i - e; i row; itt) int temp-o; for (int j -e work[2]) 88 (finish[1] 1- true &&request[1][1]work[e]) && (finish[1] 1- true && request[1][2]> work[1])&& (finish[1] 1- true&& request[1]3]work[2]) && (finish[2] - true && request[2][1] > work[e) && (finish[2]1- true&& request[21[2] work[1]) && (finish[2] 1- true &&request [2][3]work[2]))

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

More Books

Students also viewed these Databases questions

Question

Find a + b, 2a + 3b, |a|, and |a b|. a = 2i 4j + 4k, b = 2j k

Answered: 1 week ago

Question

What are the determinants of cash cycle ? Explain

Answered: 1 week ago