Post reply

Name:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: nduprincekc
« on: September 26, 2015, 08: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