dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: help needed Email lomoteye@outlook.com

  1. #1
    Join Date
    Sep 2015
    Posts
    1

    help needed Email lomoteye@outlook.com

    In a University College grading system, a student will have to register for different courses and
    for each course it is required a particular amount of credit hours needed for students to study in a
    week. As part of the continuous assessment for a particular course, say Calculus, you need to
    calculate the earned weighted credit for that course and this involves knowing the mid-semester
    exam score and the final exam score, respectively (earned weighted credit is computed by
    multiplying the sum of both mid-semester and final exams scores by the credit hours).
    If the sum of both mid-semester and final exams scores is greater than or equal to 70 score, then
    we determine the said student to have attained an A grade in Calculus course, otherwise the
    student is evaluated to have attained a B grade.
    We want to calculate the Performance Ratio of a student for Calculus, and this is done by
    dividing the earned weighted credit by the maximum weighted credit. Moreover, we want to
    evaluate the grade attained by the same student.
    Design an algorithm (in flowchart) that determines the grade attained and calculates the
    Performance Ratio of a student for Calculus, given the scores of mid-semester and final exams,
    and the maximum weighted credit.

  2. #2
    2kaud's Avatar
    2kaud is online now Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    6,815

    Re: help needed Email lomoteye@outlook.com

    ...and the c++ question is?
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2019 (16.2.5)

  3. #3
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,456

    Re: help needed Email lomoteye@outlook.com

    And what is your question?
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)