Professional Documents
Culture Documents
Cs Project
Cs Project
PROJECT FILE
SESSION: 2022-23
SUBJECT CODE: 083
NAME : Chakrika.Pandalaneni_______
CLASS : 11________ SEC:A2________
ROLL NO: 03_______________________
CHENNAI PUBLIC SCHOOL
THIRUMAZHISAI - CHENNAI - 600124
Bonafide Certificate
Page5of22
TABLE OF CONTENTS
S No TOPIC PAGE NO
1 Synopsis 1
2
2 System Requirements
Page6of22
S No TOPIC PAGE NO
2
3 Flowchart
3
4 Code
4
5 Outputs
6
6 Bibliography
Page7of22
SYNOPSIS
Page8of22
SYSTEM REQUIREMENTS:
1. HARDWARE:
● 4 GB ram
2. SOFTWARE:
Page9of22
● Operating System –OS7, OS8
● Python IDLE
● MYSQL
Page10of22
CODE
print("WELCOME TO CALCULATOR")
while True:
print("\n\t\t Choose the operation to perform:")
print('''\n\t\t 1. Addition of two numbers
\n\t\t 2. Subtraction of two numbers
\n\t\t 3. Multiplication of two numbers
\n\t\t 4. Division of two numbers
\n\t\t 5. Exit''')
if choice == 1:
print("\nAddition of two numbers")
a = int(input("\nEnter the first number: "))
b = int(input("\nEnter the second number: "))
sum = a + b
print(a, "+", b, "=", sum)
elif choice == 2:
print("\nSubtraction of two numbers")
a = int(input("\nEnter first number: "))
b = int(input("\nEnter second number: "))
difference = a - b
print(a, "-", b, "=", difference)
elif choice == 3:
print("\nMultiplication of two numbers")
a = int(input("\nEnter the first number: "))
b = int(input("\nEnter the second number: "))
product = a * b
print(a, "*", b, "=", product)
elif choice == 4:
print("\nDivision of two numbers")
a = int(input("\nEnter the first number: "))
b = int(input("\nEnter the second number: "))
quotient = a / b
Page11of22
remainder = a % b
print("\nQuotient of", a, "/", b, "=", quotient)
print("\nRemainder of", a, "%", b, "=", remainder)
elif choice == 5:
print("\n\t\tThank You! See you again.")
quit()
OUTPUT-1
OUTPUT-2
Page12of22
OUTPUT-3
Page13of22
OUTPUT-4
Page14of22
OUTPUT-5
BIBLIOGRAPHY
https://www.google.com
Page15of22
Page16of22