0% found this document useful (0 votes)
62 views2 pages

Case Study For Computer Programming 1

The document presents a case study for a conversion application that allows users to convert between different measurement units such as length, temperature, area, volume, and weight. It includes examples of valid inputs and outputs for length and weight conversions, as well as handling of invalid inputs. The application prompts the user to select a conversion type and provides the equivalent value based on the input given.

Uploaded by

lugie18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views2 pages

Case Study For Computer Programming 1

The document presents a case study for a conversion application that allows users to convert between different measurement units such as length, temperature, area, volume, and weight. It includes examples of valid inputs and outputs for length and weight conversions, as well as handling of invalid inputs. The application prompts the user to select a conversion type and provides the equivalent value based on the input given.

Uploaded by

lugie18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

CCS112-Computer Programming 1

CASE STUDY NO. 1

Example Output No. 1


================================
======= CONVERSION APP ========
======= YOUR NAME ========
================================
1] LENGTH
2] TEMPERATURE
3] AREA
4] VOLUME
5] WEIGHT
ENTER THE NUMBER OF YOUR CHOICE: 1
======= LENGTH CONVERSION ========
1] Meter to Kilometer
2] Yard to Foot
3] Inch to Centimeter
4] Mile to Kilometer
5] Milimeter to Centimeter
ENTER THE NUMBER OF YOUR CHOICE: 1
Enter value in Meter: 100
The equivalent in Kilometer is 0.1

Example Output No. 2


================================
======= CONVERSION MENU ========
======= YOUR NAME ========
================================
1] LENGTH
2] TEMPERATURE
3] AREA
4] VOLUME
5] WEIGHT
ENTER THE NUMBER OF YOUR CHOICE: 5
======= WEIGHT CONVERSION ========
1] Gram to Kilogram
2] Kilogram to Pounds
3] Pound to Gram
4] Ounce to Gram
5] Kilogram to Metric Ton
ENTER THE NUMBER OF YOUR CHOICE: 2
Enter value in Kilogram: 100
The equivalent in Pounds is 220.46244202

Example Output No. 3


================================
======= CONVERSION MENU ========
======= YOUR NAME ========
================================
1] LENGTH
2] TEMPERATURE
3] AREA
4] VOLUME
5] WEIGHT
ENTER THE NUMBER OF YOUR CHOICE: 6
INVALID INPUT!

Example Output No. 4


================================
======= CONVERSION MENU ========
======= YOUR NAME ========
================================
1] LENGTH
2] TEMPERATURE
3] AREA
4] VOLUME
5] WEIGHT
ENTER THE NUMBER OF YOUR CHOICE: 5
======= WEIGHT CONVERSION ========
1] Gram to Kilogram
2] Kilogram to Pounds
3] Pound to Gram
4] Ounce to Gram
5] Kilogram to Metric Ton
ENTER THE NUMBER OF YOUR CHOICE: 7
INVALID INPUT!

You might also like