SlideShare a Scribd company logo
1 of 8
Aryabhatta International College of Technical Education
Ajmer, Rajasthan
A
PROJECT REPORT
ON
Casino Game: C++
Submitted in partial fulfilment for
Award of the Degree of 2017 Year,
BACHELOR OF COMPUTER APPLICATION
Submitted to
Aryabhatta International of College Technical Education
Submitted by:
Riddhi Chouhan
ACKNOWLEDGEMENT
I am Riddhi Chouhan Student of Bachelor’s ofcomputer application
Aryabhatta International College OfTechnicalEducation would like to
express my gratitude to each and every person who has contributed in
stimulating suggestions and encouragement which really helped me to
co-ordinate my project.
I also thank Aryabhatta International College Of TechnicalEducation
who provided insight and expertise that greatly assisted the project. Also, a
special thanks to my teacher, parents and colleagues who have supported me
at every step.
Not to forget, the almighty who blessed me with good health becauseof
which I worked more I worked more efficiently and better
 Casino Game:
 Registration Page
 GAME IS CONTINUE:
 Source Code:
#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
#include<time.h>
void main()
{
clrscr();
int n,ch,betamt,no,b,h;
long int totamt;
char name[20];
cout<<"nttt----------------------";
cout<<"ntttWELCOME TO CASINO GAME";
cout<<"nttt----------------------";
getch();
clrscr();
cout<<"tttREGISTRATION PAGE";
cout<<"nnRules for the Game:-";
cout<<"n1.) Press any number of your choice.";
cout<<"n2.) Enter the bet amount from total amount.";
cout<<"n3.) If you win the bet amount increse by 5 times.";
cout<<"nnEnter your name: ";
cin>>name;
cout<<"Enter amount: ";
cin>>totamt;
cout<<"nnDop you want to continue with the game";
cout<<"n1.) Press 1 for Yes";
cout<<"n2.) Press 2 for Exit"<<endl;
cin>>ch;
if(ch==1)
{
}
else
{
exit(0);
}
getch();
clrscr();
cout<<"nnRules for the Game:-";
cout<<"n1.) Press any number of your choice.";
cout<<"n2.) Enter the bet amount from total amount.";
cout<<"n3.) If you win the bet amount increse by 5 times.";
cout<<"nnPlayer Name: "<<name;
cout<<"nTotal amount: "<<totamt;
a: cout<<"nEnter amount to bet:";
cin>>betamt;
if(betamt>totamt)
{
cout<<"You entered more amount than the total
amount"<<endl;
goto a;
}
cout<<"n*********************************";
cout<<"nEnter number of your choice:-";
cout<<"n*********************************";
b: cout<<"nnEnter your no.:";
cin>>no;
randomize();
b=rand()%10;
if(b==no)
{
cout<<"nnYOU WON THE GAME";
cout<<"nGenerated no:"<<b;
totamt=totamt-betamt*5;
cout<<"nCurrent Balance:"<<totamt;
}
else
{
cout<<"nYOU LOOSE THE GAME"<<endl;
cout<<"Generated no:"<<b;
totamt=totamt-betamt;
cout<<"nCurrent Balance:"<<totamt;
}
cout<<"nn1.) Continue the game";
cout<<"n2.) Exit the game"<<endl;
cin>>ch;
if(ch==1)
{
cout<<"Total amount:"<<totamt;
cout<<"nEnter amount to bet:";
cin>>betamt;
goto b;
}
else
{
exit(0);
}
getch();
}
Thank you
Created By:-Riddhi Chouhan
Aryabhatta International College of Technical
Education

More Related Content

Similar to Casino Game

Computer Science Project on Management System
Computer Science Project on Management System Computer Science Project on Management System
Computer Science Project on Management System SajidAli643
 
C++ class 12 cbse quiz programming (Compiled using Turbo C++)
C++ class 12 cbse quiz programming (Compiled using Turbo C++)C++ class 12 cbse quiz programming (Compiled using Turbo C++)
C++ class 12 cbse quiz programming (Compiled using Turbo C++)Adarsh Pandit
 
New Tools for a More Functional C++
New Tools for a More Functional C++New Tools for a More Functional C++
New Tools for a More Functional C++Sumant Tambe
 
Rajeev oops 2nd march
Rajeev oops 2nd marchRajeev oops 2nd march
Rajeev oops 2nd marchRajeev Sharan
 
Casino_Presentation programming c--.pptx
Casino_Presentation programming c--.pptxCasino_Presentation programming c--.pptx
Casino_Presentation programming c--.pptxhamzaalkhairi802
 
Cs pritical file
Cs pritical fileCs pritical file
Cs pritical fileMitul Patel
 
Computer Science investigatory project class 12
Computer Science investigatory project class 12Computer Science investigatory project class 12
Computer Science investigatory project class 12Raunak Yadav
 
A computer shop management system
A computer shop management system A computer shop management system
A computer shop management system Ûťţåm Ğűpţä
 
CBSE Class XI Programming in C++
CBSE Class XI Programming in C++CBSE Class XI Programming in C++
CBSE Class XI Programming in C++Pranav Ghildiyal
 
simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1Ajay132002
 
C++ coding for Banking System program
C++ coding for Banking System programC++ coding for Banking System program
C++ coding for Banking System programHarsh Solanki
 
Computer Investigatory Project
Computer Investigatory ProjectComputer Investigatory Project
Computer Investigatory ProjectNishant Jha
 
Oops practical file
Oops practical fileOops practical file
Oops practical fileAnkit Dixit
 
computer science project on movie booking system
computer science project on movie booking systemcomputer science project on movie booking system
computer science project on movie booking systemAnurag Yadav
 
public interface Game Note interface in place of class { .pdf
public interface Game  Note interface in place of class { .pdfpublic interface Game  Note interface in place of class { .pdf
public interface Game Note interface in place of class { .pdfkavithaarp
 
Laporan pd kelompok 6
Laporan pd kelompok 6Laporan pd kelompok 6
Laporan pd kelompok 6phoe3
 
Shikh Mohammad Usman Haidar , BCA Third Year
Shikh Mohammad Usman Haidar , BCA Third YearShikh Mohammad Usman Haidar , BCA Third Year
Shikh Mohammad Usman Haidar , BCA Third YearDezyneecole
 

Similar to Casino Game (20)

Computer Practical XII
Computer Practical XIIComputer Practical XII
Computer Practical XII
 
Computer Science Project on Management System
Computer Science Project on Management System Computer Science Project on Management System
Computer Science Project on Management System
 
C++ class 12 cbse quiz programming (Compiled using Turbo C++)
C++ class 12 cbse quiz programming (Compiled using Turbo C++)C++ class 12 cbse quiz programming (Compiled using Turbo C++)
C++ class 12 cbse quiz programming (Compiled using Turbo C++)
 
New Tools for a More Functional C++
New Tools for a More Functional C++New Tools for a More Functional C++
New Tools for a More Functional C++
 
Rajeev oops 2nd march
Rajeev oops 2nd marchRajeev oops 2nd march
Rajeev oops 2nd march
 
Casino_Presentation programming c--.pptx
Casino_Presentation programming c--.pptxCasino_Presentation programming c--.pptx
Casino_Presentation programming c--.pptx
 
Cs pritical file
Cs pritical fileCs pritical file
Cs pritical file
 
Computer Science investigatory project class 12
Computer Science investigatory project class 12Computer Science investigatory project class 12
Computer Science investigatory project class 12
 
A computer shop management system
A computer shop management system A computer shop management system
A computer shop management system
 
CBSE Class XI Programming in C++
CBSE Class XI Programming in C++CBSE Class XI Programming in C++
CBSE Class XI Programming in C++
 
simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1simple-movie-ticket-booking-system-1
simple-movie-ticket-booking-system-1
 
C++ coding for Banking System program
C++ coding for Banking System programC++ coding for Banking System program
C++ coding for Banking System program
 
Computer Investigatory Project
Computer Investigatory ProjectComputer Investigatory Project
Computer Investigatory Project
 
Oops practical file
Oops practical fileOops practical file
Oops practical file
 
computer science project on movie booking system
computer science project on movie booking systemcomputer science project on movie booking system
computer science project on movie booking system
 
C++ TUTORIAL 1
C++ TUTORIAL 1C++ TUTORIAL 1
C++ TUTORIAL 1
 
public interface Game Note interface in place of class { .pdf
public interface Game  Note interface in place of class { .pdfpublic interface Game  Note interface in place of class { .pdf
public interface Game Note interface in place of class { .pdf
 
C++ programming
C++ programmingC++ programming
C++ programming
 
Laporan pd kelompok 6
Laporan pd kelompok 6Laporan pd kelompok 6
Laporan pd kelompok 6
 
Shikh Mohammad Usman Haidar , BCA Third Year
Shikh Mohammad Usman Haidar , BCA Third YearShikh Mohammad Usman Haidar , BCA Third Year
Shikh Mohammad Usman Haidar , BCA Third Year
 

Recently uploaded

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 

Recently uploaded (20)

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 

Casino Game

  • 1. Aryabhatta International College of Technical Education Ajmer, Rajasthan A PROJECT REPORT ON Casino Game: C++ Submitted in partial fulfilment for Award of the Degree of 2017 Year, BACHELOR OF COMPUTER APPLICATION Submitted to Aryabhatta International of College Technical Education Submitted by: Riddhi Chouhan
  • 2. ACKNOWLEDGEMENT I am Riddhi Chouhan Student of Bachelor’s ofcomputer application Aryabhatta International College OfTechnicalEducation would like to express my gratitude to each and every person who has contributed in stimulating suggestions and encouragement which really helped me to co-ordinate my project. I also thank Aryabhatta International College Of TechnicalEducation who provided insight and expertise that greatly assisted the project. Also, a special thanks to my teacher, parents and colleagues who have supported me at every step. Not to forget, the almighty who blessed me with good health becauseof which I worked more I worked more efficiently and better
  • 3.  Casino Game:  Registration Page  GAME IS CONTINUE:
  • 4.  Source Code: #include<iostream.h> #include<conio.h> #include<stdlib.h> #include<time.h> void main() { clrscr(); int n,ch,betamt,no,b,h; long int totamt; char name[20]; cout<<"nttt----------------------"; cout<<"ntttWELCOME TO CASINO GAME"; cout<<"nttt----------------------"; getch(); clrscr(); cout<<"tttREGISTRATION PAGE"; cout<<"nnRules for the Game:-"; cout<<"n1.) Press any number of your choice."; cout<<"n2.) Enter the bet amount from total amount."; cout<<"n3.) If you win the bet amount increse by 5 times."; cout<<"nnEnter your name: "; cin>>name; cout<<"Enter amount: "; cin>>totamt;
  • 5. cout<<"nnDop you want to continue with the game"; cout<<"n1.) Press 1 for Yes"; cout<<"n2.) Press 2 for Exit"<<endl; cin>>ch; if(ch==1) { } else { exit(0); } getch(); clrscr(); cout<<"nnRules for the Game:-"; cout<<"n1.) Press any number of your choice."; cout<<"n2.) Enter the bet amount from total amount."; cout<<"n3.) If you win the bet amount increse by 5 times."; cout<<"nnPlayer Name: "<<name; cout<<"nTotal amount: "<<totamt; a: cout<<"nEnter amount to bet:"; cin>>betamt; if(betamt>totamt) {
  • 6. cout<<"You entered more amount than the total amount"<<endl; goto a; } cout<<"n*********************************"; cout<<"nEnter number of your choice:-"; cout<<"n*********************************"; b: cout<<"nnEnter your no.:"; cin>>no; randomize(); b=rand()%10; if(b==no) { cout<<"nnYOU WON THE GAME"; cout<<"nGenerated no:"<<b; totamt=totamt-betamt*5; cout<<"nCurrent Balance:"<<totamt; } else { cout<<"nYOU LOOSE THE GAME"<<endl; cout<<"Generated no:"<<b; totamt=totamt-betamt; cout<<"nCurrent Balance:"<<totamt; }
  • 7. cout<<"nn1.) Continue the game"; cout<<"n2.) Exit the game"<<endl; cin>>ch; if(ch==1) { cout<<"Total amount:"<<totamt; cout<<"nEnter amount to bet:"; cin>>betamt; goto b; } else { exit(0); } getch(); }
  • 8. Thank you Created By:-Riddhi Chouhan Aryabhatta International College of Technical Education