Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 571 Bytes

File metadata and controls

14 lines (10 loc) · 571 Bytes

LAB-3

Instructions

For this lab, I would like you to take the math.java file from notes, and extend it with additional methods/functions.

I would like you not to use opperators other than + and -, and the methods/functions we have created in this file.

Please implement:

  • multiplication function
  • division funcion
  • modulo function
  • a string concatination function (that takes two strings and returns the second appended to the first
  • a string repeating function that takes a string and a number (that returns the number of times to repeat printing it out)