You are on page 1of 1

PROGRAM THAT WILL DISPLAY MULTIPLES OF 1 TO 5

public class strawberry { public static void main (String[]args) { for (int x=1; x<=5; x++) { for (int y=1; y<=5; y++) { int t=x*y; System.out.print (t+" "); /*miralles*/ } System.out.print("\n"); } } }

You might also like