Function 1 — Add or Subtract

This function takes an integer and performs one of two operations: adds 7 if the integer is less than 10, or subtracts 3 if the integer is 10 or greater.




← Back to Coding Projects