Final answer:
The logic component used is an If-else statement and the interest on a $5,000 loan at an 8% interest rate would be $400.
Step-by-step explanation:
The logic component being used is C) If-else statement. Regarding the amount of interest for an amount of $5,000, according to the provided If-else statement, since the amount is not less than $5,000, the interest rate applied would be 8%. Therefore, the interest calculated would be $5,000 x 0.08 = $400.