Giter Site home page Giter Site logo

gradecalc's Introduction

gradecalc

To Calculate Class Grade

User is presented with menu containing various options Menu has letters that correspond to program capbilities ex. A: Add Assignment

Program uses a vector of structs to store data for each assignment

addAssignment function takes in assignment name, overall weight, and percentage earned and stores that information into the struct, then the struct is added to the vector

calcGrade function calculates the total amount of points earned in the course by adding up each assignment's grade. returns total grade.

printGrades function prints out information for each assignment and calculates and prints overall class grade

whatif function calculates what the student needs to earn on the final exam in order to earn their desired overall course grade. Also lets the student know if that overall grade is out of reach.

deleteLastAssignment function removes the last member of the vector.

future work: add a deleteCustomAssignment function to remove any assignment in the vector the user desires

gradecalc's People

Contributors

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