Beginner In C++ help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rasham
    New Member
    • Oct 2014
    • 2

    Beginner In C++ help!

    I start taking this computer Science class recently ( C++ ) I could not solve the assignment , the compiler keeps show me a lot of errors! the file is in the attachments please take a look
    Attached Files
  • iam_clint
    Recognized Expert Top Contributor
    • Jul 2006
    • 1207

    #2
    Its hard to give you any help when you don't tell us the errors you got and the code you have.

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      Please post your code (and the errors). Because of virus fears, I never open an attachment.

      Comment

      • Rasham
        New Member
        • Oct 2014
        • 2

        #4
        Write a program that will interact with the user in the following manner:
        Enter a number: 4
        1
        1 2
        1 2 3
        1 2 3 4
        1 2 3
        1 2
        1
        do you want to repeat the program? press y for yes
        or any character to exit the program: y
        Enter a number: 2
        1
        1 2
        1
        do you want to repeat the program? press y for yes
        or any character to exit the program: n
        Good Bye!

        Comment

        • iam_clint
          Recognized Expert Top Contributor
          • Jul 2006
          • 1207

          #5
          Ok so now you show me what you have tried and what the problems are.

          Comment

          Working...