27 lines
602 B
Java
27 lines
602 B
Java
|
/*
|
||
|
* 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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|