Git Product home page Git Product logo

c-projects's Introduction

C-projects

PhoneBook

This is a project in c , that was created for the needs of my university. It is practicly a phonebook with basic option.

You run it like this:

/program.exe -f

I have a help option if you want to see all the commands:

/program.exe -h

You can create the phonebook (txt file ) like this:

/program.exe -f "filename" -new

You can create then the Record :

/program.exe -f "filename" -newentry "Name" "Phone"

You can change the Record:

/program.exe -f "filename" -changeentry "OldName" "NewPhone"

You can show the Record:

/program.exe -f "filename" -changeentry "OldName" "Phone"

You can show all Records:

/program.exe -f "filename" -changeentries

You can delete a Record:

/program.exe -f "filename" -deleteentry "Name"

You can delete all Records:

/program.exe -f "filename" -deleteentries

GradeCalculator

This program calculates the final grade of students based on their written exercises and exams. The template is based in the template was asked by my University.

How to Use

  1. Compile the program.
  2. Run the executable.
  3. Follow the instructions to input data.
  4. Input grades for the final exam and repeat examinations if needed.
  5. The program will calculate the final grades and display them.

Program Details

  • Input Data: Reads student registration numbers and grades for written exercises.
  • Exams: Determines if students have the right to participate in the final exam.
  • Input Grade: Takes input for final exam grades and repeat examination grades.
  • Final Grade: Calculates the final grades based on the written exercises and exam grades.
  • Print Data: Displays the student data and final grades.

PartySeatsCalculator

How to Use

1.Compile the program. 2.Run the executable. 3.Follow the instructions to input party data and constituency results. 4.Choose option 1 to enter constituency results or option 2 to print final percentages and seat allocation.

Program Details

  • **Input Party Data: Enter party IDs and names.
  • **Constituency Results: Input votes for each party.
  • **Final Percentages: Calculate percentages of votes for each party.
  • **Seat Allocation: Distribute seats based on percentages.
  • **Printing Results: Display final percentages and seat allocation.

c-projects's People

Contributors

jimgiouvanakis 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.