Giter Site home page Giter Site logo

eda's Introduction

Mobility Device Rental System

This project is a Mobility Device Rental System that allows users to manage clients, managers, mobility devices, and rentals. The system is designed for a company that offers electric mobility devices (such as e-scooters or e-bikes) for rent to its clients. The main goal of the system is to facilitate the management of available devices, client information, and rental transactions.

The Mobility Device Rental System provides an interactive menu to the user, offering options to perform various tasks such as adding, removing, updating, and searching for managers, clients, and mobility devices. It also allows users to register rentals, view rental history, and calculate rental statistics.

The system utilizes several data structures, including structs to represent managers, clients, mobility devices, and rentals. Additionally, it uses a dynamic data structure to represent the location of clients and mobility devices, employing a graph for this purpose.

Each mobility device is equipped with location information, including latitude and longitude coordinates, allowing for easy tracking and management of the devices. This information can be used to display the devices available in a specific area or to analyze the usage patterns of the devices.

Features

  • Add, remove, update, and search for managers, clients, and mobility devices
  • Register rentals
  • View rental history
  • Calculate rental statistics
  • Track and manage device locations using latitude and longitude coordinates

Getting Started

To compile the project, navigate to the project directory and run the following command:

gcc main.c manager.c client.c mobilitydevice.c utils.c input.c location.c menu.c -o rental_system

To run the compiled program, execute the following command:

./rental_system

The system will then display the main menu, allowing you to select from the available options.

File Structure

project/
│
├── main.c
├── client.c
├── manager.c
├── mobilitydevice.c
├── utils.c
├── input.c
├── location.c
├── menu.c
│
├── client.h
├── manager.h
├── mobilitydevice.h
├── utils.h
├── input.h
├── location.h
└── menu.h

Dependencies

The project uses only the standard C library, so no additional dependencies are required.

License

This project is released under the MIT License. See the MIT file for more information.

eda's People

Contributors

rodolfomota avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.