What is the output of $bc 9/5
A
Correct answer
Explanation
The bc command performs integer arithmetic by default. When you type 9/5 in bc without setting scale, it truncates the decimal part and returns 1. To get floating-point results, you'd need to set scale first (e.g., 'scale=2' would give 1.80). Integer division drops the decimal entirely.