how do i make this kind of program?

how do i make this program with this output please help
SAMPLE OUTPUT:

3
5
1 2 3 4 5
3
12 23 34
4
0 12 3 9

15
9384
1 2 3 4 5 12 23 34 0 12 3 9
9 3 12 0 34 23 12 5 4 3 2 1
15 + 69 + 24 = 108

3
me you us

ME YOU US 7
us you me 2 3 2
meyouussuuoyem
em uoy su
emuoysuME YOU US
me you us
end

Repeat the process? y for yes, n for no
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <iostream>
using namespace std;

int main()
{
    cout << "3\n"
        "5	\n"
        "1 2 3 4 5\n"
        "3	\n"
        "12 23 34\n"
        "4	\n"
        "0 12 3 9\n\n"

        "15\n"
        "9384\n"
        "1 2 3 4 5 12 23 34 0 12 3 9\n"
        "9 3 12 0 34 23 12 5 4 3 2 1\n"
        "15 + 69 + 24 = 108\n\n"

        "3\n"
        "me you us\n\n"

        "ME YOU US 7\n"
        "us you me 2 3 2\n"
        "meyouussuuoyem\n"
        "em uoy su\n"
        "emuoysuME YOU US\n"
        "me you us\n"
        "end\n\n"

        "Repeat the process? y for yes, n for no" << endl;

    return 0;
}


Sorry, couldn't resist.
I have no idea what the idea is supposed to be.
Last edited on
can you give more details please? I don't get what you want to do.
Topic archived. No new replies allowed.