Anybody pls help on writing program for this!!

This is a discussion on Anybody pls help on writing program for this!! within the C Programming forums, part of the General Programming Boards category; MY PROGRAM IS NOT RUNNING..NEED HELP ON THIS.. At the beginning of the system, you need to input number of ...

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    19

    Anybody pls help on writing program for this!!

    MY PROGRAM IS NOT RUNNING..NEED HELP ON THIS..

    At the beginning of the system, you need to input number of students and number of subjects that have been marked. Then, you need to enter the student's identification number and marks for each subject. While entering the marks, you have to determine their respective grades and display the grades based on the following table:

    Marks Grade
    80 ≤ marks ≤ 100 A
    70 ≤ marks ≤ 79 B
    60 ≤ marks ≤ 69 C
    50 ≤ marks ≤ 59 D
    40 ≤ marks ≤ 49 E
    marks ≤ 39 F

    After determine the grades, you need to come out with the total marks and find the average marks of the subjects. If the average marks is greater than or equal to 40, the respective student can proceed to the next semester.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,915
    So, what is your current program, and what is the exact error involved?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Sep 2010
    Location
    Halesowen, England
    Posts
    30
    What have you done so far? Why isn't it working?
    Can you put your source code here (in [code]...[/code] tags)?

  4. #4
    Registered User
    Join Date
    Sep 2010
    Posts
    19
    i m using C compiler. the whole project corrupted..i need to start from beginning. i m new to programming.pls help on how to start and identify problem

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,915
    Sorry to hear that, but then you should try to rewrite your program first. Remember to backup, just in case.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Registered User
    Join Date
    Sep 2010
    Posts
    19
    pls recommend some website with sample of C programming

  7. #7
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    You really believe that this C forum, has no C code in it's many pages?

    Really?

    What are you stuck on?

    The truth is, if you wrote a program that did this assignment, you'd have no problem getting the new version, at least well started.

    So, enough with the BS, and how can we help you with your program? We will help, but we won't write it for you.

  8. #8
    Registered User
    Join Date
    Aug 2010
    Location
    Poland
    Posts
    682
    Quote Originally Posted by scorpio76 View Post
    pls recommend some website with sample of C programming
    http://cboard.cprogramming.com/ - Thousands of code snippets

  9. #9
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,671
    > the whole project corrupted..i need to start from beginning.
    Ah, the high-tech version of "my dog ate my homework".
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 09-16-2009, 06:00 AM
  2. Need some help with C program writing
    By The_PC_Gamer in forum C Programming
    Replies: 9
    Last Post: 02-12-2008, 08:12 PM
  3. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  4. Writing a checklist program for MTGO?
    By CrYpTiC in forum Game Programming
    Replies: 2
    Last Post: 04-08-2005, 09:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21