JAVA GURUS PLZ HELP

620

nduprincekc

  • Hero Member
  • *****
  • Posts: 625
    • 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?:

Related Topics

  Subject / Started by Replies Last post
0 Replies
737 Views
Last post December 06, 2015, 01:04:55 PM
by nduprincekc
5 Replies
1470 Views
Last post March 23, 2017, 08:21:55 PM
by bennieo
2 Replies
873 Views
Last post October 08, 2016, 12:49:39 PM
by highman10