Computer Science, asked by guptaayushimohit, 10 months ago

Write a program in C++ to add and multiply complex numbers using constructors?

Answers

Answered by aneesapy
0

Answer:

2

3

4

5

6

7

// my first program in C++ #include <iostream> int main() { std::cout << "Hello World!"; }

Explanation:

hi

Answered by Dheerajsingh4141
0

Answer:

cout<<"\n\tEnter the real and imaginary part of number 2:\n\t"; cin>>b>>c; Complex c3(b,c); //Calling parameterised constructor for different values. Complex c4=sum(c2,c3); //Calling copy constructor

Similar questions