WikiBtsSio

BtsB23SioS50Me

BTS SIO B - Semaine 50 du lundi 11 décembre au vendredi 15 décembre.

Lundi 11 décembre 2023 - B1D T.P.
13 heures 45 --> 15 heures 40 - Groupe 1

15 heures 55 --> 17 heures 45 - Certification - Groupe 1


Mardi 12 décembre 2023
Conception & développement d'applications.
8 heures 45 - B1D TP - Groupe 1
  • Séance pour terminer vos T.P.s.

10 heures 45 - B1D TP - Groupe 2
  • Séance pour terminer vos T.P.s.


Jeudi 14 décembre 2023
13 heures 40 - B1D

Exemples :

<?php
public class MyClass {
  public static 
void main(java.lang.String[] args) {
    
// Insert code to start the application here.
    
int i 3;
    
int j 0;
    try {
      
System.out.println("résultat = " + (j));
        } catch (
ArithmeticException e)     {
                
System.out.println("Erreur de type Arithmétique\n");
                                }
  }
}



<?php
import java
.util.Scanner;
public class 
Kaprekarv1 {
    public static 
void main(String args[]) {
      
int Val 0;
     do {
Scanner sc = new  Scanner(System.in);
           
System.out.println("Veuillez saisir un nombre :");
           
Val sc.nextInt();
           
System.out.println("Vous avez saisi le nombre : " Val);
           } while(
Val>999 || Val<100);
    
System.out.println("Fin du programme !");
    }
}


<?php
public class MyClass {
    
    public static 
void tri (int [] tableau) {
            
System.out.println(tableau);
           }
           
    public static 
void main(String[] args) {
        
int [] Tab = { 127 77};
        
tri(Tab);
        for(
int i Tab.length 1) {
            
System.out.println ("tableau(" ") = " Tab[i]);
        }
    }
       
}



<?php
public class MyClass {
    
    public static 
void tri (int [] tableau) {
            
int temp;
            for (
int i tableau.length i++) {
                if (
tableau[i] >  tableau[i+1] ) {
                    
temp tableau[i];
                    
tableau[i] = tableau[i+1];
                    
tableau[i+1] = temp;
                }
           }
        }
    public static 
void main(String[] args) {
        
int [] Tab = { 127775429318};
        for (
int j Tab.length -) {
            for(
int i 1) {
                
tri(Tab);
            }
            
System.out.println("*********************");
        }
        
        for(
int i Tab.length 1) {
                
System.out.println ("tableau(" ") = " Tab[i]);
            }

    }
}

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]