source code assistance pls

Need your kind expert advice. I have to come out with a programme in C++ but I have no idea how to make it, really hope that anyone of you here can help me. the output is suppose to be as below. Pls guide me, experts. Thanks.

Led Pattern: 0 0 0 0 0 0 0 1
Enter logic states of sw1 and sw0, separated by a space: 0 1
Led Pattern: 1 0 0 0 0 0 0 0
Enter logic states of sw1 and sw0, separated by a space: 0 1
Led Pattern: 0 1 0 0 0 0 0 0
Enter logic states of sw1 and sw0, separated by a space: 0 1
Led Pattern: 0 0 1 0 0 0 0 0
Enter logic states of sw1 and sw0, separated by a space: 1 0
Led Pattern: 0 1 0 0 0 0 0 0
Enter logic states of sw1 and sw0, separated by a space: 1 0
Led Pattern: 1 0 0 0 0 0 0 0

I need to create 3 classes....switch class...led class...circuit class

appreciate for your advice people
DO NOT DOUBLE POST.
STAY IN ONE FORUM.
ok noted.
Topic archived. No new replies allowed.