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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<form id="myForm"> | |
<input type="email" name="mail"> | |
<input type="password" name="passwd"> | |
<input type="submit" name="btn"> |
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
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="utf-8"> | |
<script type="text/javascript" src="activite.js"></script> | |
</head> |
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<cmath.> | |
using namespace std; | |
typedef struct DATE | |
{ | |
int J,M,A; | |
}; | |
bool bissectile(DATE d) | |
{ |
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> | |
using namespace std; | |
int main() | |
{ | |
int tab[10]={0}, i=0, j=0, nombre=0, k=0; | |
cout<<"Entrer le nombre d'element que vous voulez mettre dans votre tableau:\n"; | |
cin>>nombre; | |
cout<<"Entrer les valeurs du tableau;\n"; | |
for(i=0; i<nombre; i++) | |
{ |
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> | |
using namespace std; | |
int compteur=4;int combinaison_cache[5]={1,2,3,4,5}; int combinaison_entre[5] , reponse=0; | |
int main() | |
{ | |
cout<<"Bonjour et bienvenue dans le jeu MASTERMIND"<<endl; | |
do{ | |
cout<<" Entrer votre combinaison "<<endl; |
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> | |
using namespace std; | |
int dosse,dossmt,dossec; float tc,mt,mtsec,tmp; | |
int main() | |
{ | |
do{ | |
cout << "Entrer le dossard du premier concurent" << endl; | |
cin>>dosse; | |
cout<<"Entrer le temps du premier concurent"<<endl; |
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> | |
using namespace std; | |
int i=0, an; int mois_entre; | |
typedef struct date{ | |
int j,m,a; | |
}; | |
bool anneeBissextile(int an){ |
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
<?php | |
function passgen2($nbChar){ | |
return substr(str_shuffle('abcdefghijklmnopqrstuvwxyzABCEFGHIJKLMNOPQRSTUVWXYZ0123456789'),1, $nbChar); | |
} | |
function generate_code_ticket($ticket_number=1){ | |
$ticket_disponible = array(); | |
while($ticket_number > 0){ | |
$ticket_code = passgen2(9); |
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
<?php | |
function passgen2($nbChar){ | |
return substr(str_shuffle('abcdefghijklmnopqrstuvwxyzABCEFGHIJKLMNOPQRSTUVWXYZ0123456789'),1, $nbChar); } | |
echo passgen2(9); | |
// Affiche un password comme : M9ytp5Pbcn | |
?> |