Java programme to print multiplication table in reverse order.

 public class nilesh {

    public static void main (String args[]){

       int n=3;

       int i;

       for (i=10;  i>0; i--){

           int m=n*i;

           System.out.printf("%d X %d =%d \n", n, i,m);}}

    }

Comments

Popular posts from this blog

Create an array of 5 floats and calculate their sum in java .