Time Conversion App is a simple application developed using the C programming language.
This application is designed to help users convert time units quickly and accurately without manually calculating conversion formulas.
Time plays an important role in everyday life. Humans use time units such as seconds, minutes, and hours to organize activities efficiently. However, manual time conversion can be time-consuming and prone to errors.
This application simplifies the conversion process and produces accurate results in seconds.
This project is also created as a learning medium for beginners to practice programming logic using the C language.
The creation of this time conversion application aims to facilitate human needs in daily life.
By using consistent and structured time units, users can manage activities more effectively.
With this application:
- Users can convert time easily without memorizing formulas
- Conversion results are fast and accurate
- It helps students, workers, and anyone who frequently manages time
- It provides hands-on programming practice for beginners in C
This program is a Time Conversion Application implemented using the C programming language.
Users can convert time between hours, minutes, and seconds based on their needs.
The benefits obtained by users when using this application include:
- Convert hours to minutes and seconds
- Convert minutes to hours and seconds
- Convert seconds to hours and minutes
Before accessing the conversion feature, users must log in using predefined credentials:
- Username:
user1,user2,user3 - Password:
pass1,pass2,pass3
If the login is successful, the user can proceed to the time conversion menu.
If the login fails, the program will terminate.
-
Input username and password
-
If login is successful, proceed to the conversion menu
If login fails, terminate the program -
Display:
- Welcome message
- Time conversion options
-
User selects a time unit:
- Hour
- Minute
- Second
-
If Hour is selected:
- Input time in hours
- Choose conversion:
- Hours → Minutes
- Formula:
Minutes = Hours × 60
- Formula:
- Hours → Seconds
- Formula:
Seconds = Hours × 3600
- Formula:
- Hours → Minutes
- Display result
-
If Minute is selected:
- Input time in minutes
- Choose conversion:
- Minutes → Hours
- Formula:
Hours = Minutes ÷ 60
- Formula:
- Minutes → Seconds
- Formula:
Seconds = Minutes × 60
- Formula:
- Minutes → Hours
- Display result
-
If Second is selected:
- Input time in seconds
- Choose conversion:
- Seconds → Hours
- Formula:
Hours = Seconds ÷ 3600
- Formula:
- Seconds → Minutes
- Formula:
Minutes = Seconds ÷ 60
- Formula:
- Seconds → Hours
- Display result
-
Program ends after showing the final result
- Programming Language: C
- Compiler: GCC / any standard C compiler
- Help users convert time units easily
- Reduce calculation errors
- Improve understanding of basic programming concepts
- Practice logic, conditions, and user input in C
- Sarah Nurhaliza, Developer
- Fathurrahman, Developer
- Justin Nathanael, Developer This project was created as a first programming project to learn and practice the fundamentals of the C programming language.