Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Programming (https://www.askmehelpdesk.com/forumdisplay.php?f=437)
-   -   Another qbasic programming, student IDs and GPAs (https://www.askmehelpdesk.com/showthread.php?t=414660)

  • Nov 10, 2009, 09:23 AM
    Simonne
    Another qbasic programming, student IDs and GPAs
    Generate a report using the provided data file. The report will consist of student IDs and GPAs sorted by classes. Also within each class the students should ordered by GPA from largest to smallest (descending order). After each class list should be a line indicating the class average GPA. Input data file Information:

    INPUT FILE DESCRIPTION File name: Students.lst
    FIELD DESCRIPTION DATA TYPE DECIMALS
    Student ID Character 0
    Class Character 0
    GPA Numeric 2


    ***again if some one could just help me get started I would greatly appreciate the help**

    *here are some of the student IDs and GPAs*
    STU0758,Freshman,2.81 STU0454,Senior,2.03 STU0584,Senior,2.56 STU0979,Sophomore,1.36 STU0123,Freshman,1.59 STU0642,Freshman,2.42 STU0429,Freshman,3.71 STU0470,Freshman,2.58 STU0828,Sophomore,1.99 STU0245,Senior,1.06 STU0702,Junior,3.46 STU0645,Junior,3.18 STU0558,Freshman,3.72 STU0531,Junior,1.22 STU0668,Freshman,1.23 STU0533,Senior,1.12 STU0800,Senior,3.33 STU0349
  • Nov 10, 2009, 10:08 AM
    Perito

    I'm not sure what you need to get started. Basically, you have to figure out how to read the data into the program. You then need to generate a report that prints the information that was requested. It's pretty simple.

  • All times are GMT -7. The time now is 07:19 AM.