JAVA GURUS PLZ HELP

515

nduprincekc

  • Hero Member
  • *****
  • Posts: 630
    • View Profile
JAVA GURUS PLZ HELP
Posted on: September 26, 2015, 07:44:26 AM
int i;
    for (i =1;i<=12;i++){
    System.out.println("the mulplication is  " + 2*i);
   
    }
   
}


MY console
the mulplication is 2
the mulplication is 4
the mulplication is 6
the mulplication is 8
the mulplication is 10
the mulplication is 12
the mulplication is 14
the mulplication is 16
the mulplication is 18
the mulplication is 20
the mulplication is 22
the mulplication is 24
// my problem now is i want that "the multplication is  " to display as
2*1 =2
2*2 =4
2*3 =6
plz how can i do dt



 

Quick Reply

NName:

@Email:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
14 - 4 is what?: