Answer:
Explanation:
The following is written in Java. It creates the function that takes in two int values to calculate the gcd. It includes step by step comments and prints the gcd value to the console.
public static void calculateGCD(int x, int y) {
//x and y are the numbers to find the GCF which is needed first
x = 12;
y = 8;
int gcd = 1;
//loop through from 1 to the smallest of both numbers
for(int i = 1; i <= x && i <= y; i++)
{
//returns true if both conditions are satisfied
if(x%i==0 && y%i==0)
//once we have both values as true we store i as the greatest common denominator
gcd = i;
}
//prints the gcd
System.out.printf("GCD of " + x + " and " + y + " is: " + gcd);
}
Borrowers taking a balloon payment mortgage most likely
"<span>
must repay the loan in five to ten years".
</span>
<span>B<span>alloon payment refers to a fixed amount
of money connected to a loan someone takes; this sum has a greater value than
the actual repayment costs and can be applied at fixed periods of time at the
end. </span>It can run for longer periods as well.</span>