Oodp Project
Oodp Project
Submitted by
Dr. S. DEEPA
(Assistant Professor, Department of Computer Science
and Engineering)
II SEMESTER/I YEAR
1
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
(Deemed to be University U/S 3 of UGC Act, 1956)
BONAFIDE CERTIFICATE
SIGNATURE
Assistant Professor
Computer Science and Engineering,
SRM Institute of Science and Technology,
Ramapuram, Chennai.
2
SRM INSTITUTE OF SCIENCE AND
TECHNOLOGY
RAMAPURAM, CHENNAI
DECLARATION
We hereby declare that the entire work contained in this project report titled
“SUPERMARKET BILLING SYSTEM” has been carried out by SANTHRU
MOHAN (REG NO: RA2211030020135), SATHYASUMAN (REG NO: RA2211030020141),
3
ABSTRACT
1.INTRODUCTION
2. PROBLEM STATEMENT
3. OBJECTIVE
5. EXISTING SYSTEM
4
The program can be executed on any system with a C++ compiler
installed.
6. PROPOSED SYSTEM
7. UML DIAGRAMS
Choice getComputerChoice() {
return static_cast<Choice>(rand() % 3);
}
6
int main() {
srand(time(0));
Game game;
char playAgain = 'y';
game.determineWinner(userChoice, computerChoice);
7
return 0;
}
9. SCREENSHOTS
10. CONCLUSION
This program successfully implements the game of Rock Paper Scissors in C++. It
provides an engaging user experience and demonstrates fundamental programming
concepts such as user input, random number generation, and
conditional statements.