# I need help figuring out how to implement the function described below. Thank you. /** * Returns the greatest common divisor of integers x and y. The greatest * common divisor can be determined by the...

`I need help figuring out how to implement the function described below. Thank you.  /*** Returns the greatest common divisor of integers x and y. The greatest* common divisor can be determined by the recursive function as follows:** Case 1: gcd(x, y) = gcd(x-y, y) where x > y* Case 2: gcd(x, y) = gcd(x, y-x) where x* Case 3: gcd(x, y) = x = y where x == y* Case 4 (Edge case): gcd(x, y) = {x if y == 0 or y if x == 0}** This method must be computed recursively! Failure to do so will result* in zero credit for this method.** For the purposes of this assignment, do not worry about* handling negative numbers. Throw an IllegalArgumentException* if either x or y is negative.**@paramxThe first integer*@paramyThe second integer*@throwsIllegalArgumentException if either x or y is negative*@returnThe greatest common divisor of x and y*/`

## Answer To: I need help figuring out how to implement the function described below. Thank you. /** * Returns the...

David answered on Dec 23 2019
Case 1: Qantas Airlines Ltd vs. Airbus Corporation Ltd
Issue:
Has Airbus breached its contract for supply of airplane parts? Could the law of contract and subsequent breach of contract be applicable to Airbus Corporation and if so what is the amount
of damages that can be applied in this case.
Law:
The contract is ruled by the Australian Contract Act which is a common law practice. The Contract law of Australia deals with regulations that encompass parties to a contract from discharging their promises that are affected when a contract is made.
The law says that the terms of the contract and free and fair and with specific understanding of the terms of the contract between both the parties.
The terms of the contract are very clear in this case. The contract law says that once the contract has been signed by both the parties to the contract it becomes enforceable for both parties to discharge their respective terms of the contract.[footnoteRef:2] [2: Smith v Hughes .Court of Queen's Bench [1871] LR 6 QB 597]
The principle of 'consensus ad idem' is applicable here as was decided in stare decisis.
It is also expressly implied that when parties to a contract sign a contract, both parties to the contract understand the terms of the contract and if there are any anomalies parties to the contract should sort it out as the contract becomes enforceable once signed .there can be no repudiation or alteration of the contract unless both the parties agree to changes.
Application:
Airbus has violated the terms of the contract in two ways
a. They have not performed the terms of the contract by installing software which could offer only 34 channels instead of 36.
b. They had materially altered the contract terms by including the “limitation of Liability Clause“which was not a part of the original contract. The Firm has further very cleverly inserted this document in the middle of the bulky document.
The contact between Qantas and Airbus was explicit and clear and contained 545 terms. The term 56 pertains to performance of the contract where it was expressly said that the airplane should be able to travel 10 000 km at 800 km per hour. Term 455 says that the aircraft must have an in-flight video system capable of showing 36 channels of entertainment to passengers.
Furthermore Qantas received a huge set of documents where the “limitation of Liability” term was kept in the middle with a means to mislead. This was an inclusion to the original contract .This new document stated that “The liability of Airbus...
SOLUTION.PDF