Code:`public class Error2B`

{

public static void error(int n)

{

/**

* Prints all the multiples of 10 numbers less than the given number

* n the upper limit for the numbers

*/

for (int i = 1; i < n; i++)

{

if (i % 10 = 0)

{

System.out.println(i);

}

}

}

}