Etudes/BTS/Java/Premiere annee/JavaDecouverte.java

27 lines
602 B
Java
Raw Permalink Normal View History

2016-10-14 15:52:18 +00:00
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package javadecouverte;
/**
*
* @author therbron
*/
public class JavaDecouverte {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int monChiffre = 7;
for(int i = 1; i <= 10; i++)
{
System.out.println(monChiffre + " x " + i + " = " + monChiffre * i);
}
}
}