Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package maison;
- public class Exercice3 {
- public static void main(String[] args) {
- int base[] = new int[40];
- double calcul[] = new double[40];
- base[0] = 14;
- //System.out.println(base[0]);
- for ( int u = 1 ; 1<base.length ; u++){
- base[u] = base[u-1]+2;
- //System.out.println(base[u]);
- }
- for (int k = 0 ; 0<calcul.length ; k++){
- calcul[k] = (base[0])*3.4;
- System.out.println(calcul[k]);
- }
- }
- }
Add Comment
Please, Sign In to add comment