Example of Power Set:- Let us say Set A = { a, b, c } The power set P(A) = { { } , { a }, { b }, { c }, { a, b }, { b, c }, { c, a }, { a, b, c } } Now, the Power Set has 23 = 8 elements.
When the above program is executed, it produces following results --
0 Comments