Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class test : MonoBehaviour {
- public string Login = "Erwan";
- public string MotDePasse = "KillaOne";
- public int Age = 18;
- public long CarteDeCredit = 8966574477;
- public int Numero3Chiffres = 257;
- public string NomDuTitulaire = "Cdn";
- public string PrenomDuTitulaire = "Erwan";
- public long IDClient = 155478872255477;
- public string EmailErwan = "KillaOne80@hotmail.com";
- // Use this for initialization
- void Start () {
- Debug.Log(Login);
- Debug.Log(MotDePasse);
- Debug.Log(Age);
- AgeRequis();
- Identification();
- IdentificationCarteDeCredit();
- SecuriterEmail();
- }
- void AgeRequis()
- {
- if (Age >= 18)
- print("Vous avez l'age requis !");
- else
- print("Vous n'avez pas l'age requis !");
- }
- void Identification()
- {
- if (Login == "Erwan" && MotDePasse == "KillaOne" && IDClient == 155478872255477)
- print("Bienvenue sur votre compte banquaire " + Login);
- else
- print("Identifiant ou Mot de passe incorrect");
- }
- void IdentificationCarteDeCredit()
- {
- if (CarteDeCredit == 8966574477 && Numero3Chiffres == 257 && NomDuTitulaire == "Cdn" && PrenomDuTitulaire == "Erwan")
- print("Votre carte a était validée , vous pouvez profitez de ces avantages !");
- else
- print("Vos informations de carte de crédits sont érronés veuillez réessayer !");
- }
- void SecuriterEmail()
- {
- if (EmailErwan == "KillaOne80@hotmail.com")
- print("Votre email est confirmé");
- else
- print("Votre email n'a pas pu être confirmé");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement