how to create a c++ program to add two complex number using the concept of passing and returning objects in member function

Step 1: Write a problem statement for what you want to do
Step 2: Write an outline, if it is complex
Step 3: Write up a section in pseudo-code (English instructions)
Step 4: Write the section in the programing language of your choice
Step 5: Compile the program.
Step 6: Run your program and see if it makes the computer do what you wanted.
Step 7: If not, fix the program, and compile and go back to step 5. Otherwiae release / turn in your program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.