Need Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nicks

    #1

    Need Help

    Hi there ! i need a bit of help as i am a new c++ user to write a
    program. The program should ask the user n questions or until the user
    enters -1 to Exit (n should be a constant and it should be equal to the
    largest digit in your ID number; for example: if your id number is
    S0930350, n should be 9). The program should generate the following
    report.

    Total number of questions asked
    The number of questions correctly answered
    The number of questions incorrectly answered
    The correct percentage ((correct answers/total questions)*100)
    Total number of input prime (Prime-Even + Prime-Odd), even and odd
    numbers. Note an input number may be in more than one category - 2 is
    both a Prime-Even and an even number.
    The average value of all input prime numbers
    The largest number of all input even numbers
    The smallest number of all input odd numbers

    mail me if u can help...tahnks

  • BigBrian

    #2
    Re: Need Help


    nicks wrote:[color=blue]
    > Hi there ! i need a bit of help as i am a new c++ user to write a
    > program. The program should ask the user n questions or until the user
    > enters -1 to Exit (n should be a constant and it should be equal to the
    > largest digit in your ID number; for example: if your id number is
    > S0930350, n should be 9). The program should generate the following
    > report.
    >
    > Total number of questions asked
    > The number of questions correctly answered
    > The number of questions incorrectly answered
    > The correct percentage ((correct answers/total questions)*100)
    > Total number of input prime (Prime-Even + Prime-Odd), even and odd
    > numbers. Note an input number may be in more than one category - 2 is
    > both a Prime-Even and an even number.
    > The average value of all input prime numbers
    > The largest number of all input even numbers
    > The smallest number of all input odd numbers
    >
    > mail me if u can help...tahnks[/color]

    Do you have a question about the C++ language? That's what we talk
    about here. We don't do other people's homework. Why don't you try to
    do it yourself, when you get stuck, post what you have and people will
    help you.

    Comment

    • Marcus Kwok

      #3
      Re: Need Help

      nicks <artikanarayan@ gmail.com> wrote:[color=blue]
      > Hi there ! i need a bit of help as i am a new c++ user to write a
      > program.[/color]
      [snip]



      --
      Marcus Kwok

      Comment

      Working...