Advertisement
cesarnascimento

ex10 fernando repetiçao tabuada completa

May 30th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. package exercicios;
  2.  
  3. import java.util.Scanner;
  4.  
  5. public class ex9fernando {
  6.  
  7.     public static void main(String[] args) {
  8.         Scanner sc = new Scanner(System.in);
  9.        
  10.         System.out.println("Tabuada: ");
  11.         for(int i = 1;i <= 10;i++){
  12.             for(int j = 10;j >= 1;j--){
  13.             System.out.println(j +"x"+i+" = "+(j * i));
  14.             }
  15.         }
  16.     }
  17.     /* César N. */
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement