Saturday, August 16, 2025

CASINO GAME

 #include <iostream>

#include<cstdlib>
#include<ctime>
 using namespace std;
 void rules(){
    cout<<"\n\t WELCOME TO NUMBER GUESSING GAME ";
    cout<<" \n\t 1. YOU CHOOSE A NUMBE BETWEEN  1 AND 10 ";
cout<<"\n\t2. IF YOU GUESS THE CORRECT NUMBER ,YOU WILL GET 10X BET ";
cout<<"\n3. 3. IF YOU GUESS WRONG , YOU WILL LOSE ALL YOUR BET ";
 }
 int main() {
    string name;
    int balance;
    int bettingAmount;
    int guess;
    int dice;
    srand(time(0));
    cout<<" WELCOME TO CASINO "<<endl;
    cout<<" ENTER YOUR NAME "<<endl;
    cin>>name;
    cout<<" enter your balance"<<endl;
    cin>>balance;
 return 0;
 }

No comments:

Post a Comment

list in c#

  using System ; using System . Collections . Generic ; class Program {     static void Main () {         // Write your C# code here  ...