Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iomanip>
- #include <iostream>
- #include <cmath>
- #include <cstdlib>
- using namespace std;
- //===========================================================================
- //===========================================================================
- // Définissez ici votre structure
- struct JackPot { float credit; float mise; float gain; int roue; };
- {
- int roue[3] = 0;
- float credit = 100;
- float mise;
- float gain;
- int tirage[100][3] = 0;
- }
- void mise_joueur ( float credit, float mise; )
- {
- cout<<"Entrer la valeur de votre mise: "<<endl;
- cin>>mise
- credit -= mise;
- if (mise>credit)
- {
- mise = credit;
- mise -= credit; // argent qui reste au joueur
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement