This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fr.gravendev.blindtestapp; | |
import androidx.appcompat.app.AppCompatActivity; | |
import androidx.constraintlayout.widget.ConstraintLayout; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.util.Log; | |
import android.view.View; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# importer le module sense hat | |
from sense_hat import SenseHat | |
import math | |
# creer une variable qui va stocker la couleur bleu | |
blue_color = [27, 176, 241] | |
orange_color = [241, 69, 27] | |
black_color = [0, 0, 0] | |
# creer une variable sense_hat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sample; | |
public class CompteCourant { | |
// attributs | |
private String nomProprietaire; | |
private int montant; | |
private int decouvertAutorise; | |
// constructeur |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CompteCourant { | |
// attributs | |
private String nomProprietaire; | |
private int montant; | |
private int decouvertAutorise; | |
// constructeur | |
public CompteCourant(String nomProprietaire, int montant){ | |
this.nomProprietaire = nomProprietaire; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT nom FROM planete | |
SELECT temperature FROM planete WHERE nom = "Mars | |
INSERT INTO planete("id", "nom", "temperature", "distancesol", "diametre") VALUES(9, "Nebula", 1500, 123000, 472000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package exo2; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
public class Main { | |
public static void main(String[] args) { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fr.gravendev.ex; | |
public class Jouet implements Comparable<Jouet> { | |
// attributs de notre classe | |
private String nom; // nom du jouet | |
private int prix; // prix du jouet | |
private String description; // description du jouet | |
private int promo; // promotion du jouet en cours |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fr.gravendev.ex; | |
public class Jouet implements Comparable<Jouet> { | |
// attributs de notre classe | |
private String nom; // nom du jouet | |
private int prix; // prix du jouet | |
private String description; // description du jouet | |
private int promo; // promotion du jouet en cours |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT nom FROM cheval | |
SELECT nom, prenom FROM jockey | |
INSERT INTO cheval("nom", "sexe", "poid") VALUES("Digital Phoenix", "M", 532) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <random> | |
using namespace std; | |
int main() { | |
cout << "Bienvenue à toi jeune combattant" << endl; | |
cout << "Quel est ton pseudo ?" << endl; | |
// variables |
OlderNewer