decision program ??

Home Forums C Programming decision program ??

This topic contains 1 reply, has 2 voices, and was last updated by  GWILouisaxwzkla 10 years, 9 months ago.

  • Author
  • #2178

    I need to make a program where the user inputs a grade and the program tells the user if its a pass (a,b, or c) or fail (d and below), then I need the program to output a counter of all the grades that have passed or failed
    Heres my code *note Im only using a and d to see if it will work* :

    but when I run it, its meant to say fail:

    can anyone point me in the right direction please?

    Thanks Geekrockergal

  • #3521

    could do:

You must be logged in to reply to this topic.