Etudes/BTS/Java/Premiere annee/JavaDecouverte.java
2016-10-14 17:52:18 +02:00

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);
}
}
}