Integer expression expected

My outputs are correct except with an additional line of "integer expression expected " with the test command.

# 3) Bash script can only do integer arithmetic. Include additional handling needed to the decimal part

try to strip the decimal part

Hey an Integer part is expected in the answer, please understand as to how to convert a Decimal to a Integer value in a grep/awk command.

Please go through the above link :slight_smile: