Write a method void Print(int LastNumber, int numbersPerLine) that receives two integers

lastnumber and numbersPerLine. The program should print all the numbers from 1 to lastnumber,

numbersperline each line. The last line should contain the remaining numbers.​

Respuesta :

Answer:

Code is in the attached screenshot.

Explanation:

Assumed it was written in Java based on your other question asked.

Ver imagen rainestormee