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
Beginner In C++ help!
Collapse
X
-
Comment
-
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
Comment