Professional Documents
Culture Documents
Midterm Case Studies Legaspi
Midterm Case Studies Legaspi
BINALONAN, PANGASINAN
SY. 2023-2024
In Partial Fulfillment of the Subject Requirement for Data Structure and Algorithms
(CC 104)
☺️
GENDER
1q111a1@a1a1a1a1a1a1aq1a1a1aa1a1qa1aq1a1aa@
an %111
Submitted By:
RONNIE LEGASPI
2-B
Submitted to:
Michael Jhon Ramos Beltran
Instructor, UEP-CIT
CASE 1. MAKE A ONE FUNCTION CALCULATOR
Try to create a program that will perform one of the arithmetic operators when
the user inputs two numbers
My observation/conclusions is –
The Python program enables users to input two numbers, choose an arithmetic operation, and
receive the result, with built-in error handling for division by zero scenarios.
My observation/conclusions is –
The Python program successfully takes user input for their birth year, calculates their age based on
the current year, and presents the result, providing a straightforward means of determining one's
age.
The Python program effectively converts a length from meters to centimeters by multiplying it by
100, providing a straightforward and accurate conversion.
My observation/conclusions is –
The Python program effectively collects and displays personal information, providing a
straightforward way to input and view the user's details.