create a class complex having real and imaginary part of a
complex no. as a data member. overload the binary
operators(+,- and *) to perform the operations on complex
no. objects. overload binary operator using friend function.
Answer Posted / fgf
i also want answer for this question
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What do you mean by overloading?
What is encapsulation oop?
How is class defined?
Which is better struts or spring?
What is basic concept of oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is encapsulation in ict?
What is oops and why we use oops?
What is polymorphism what is it for and how is it used?
What is object and class in oops?
What is destructor in oop?
Why do pointers exist?
Can we create object of abstract class?
How to hide the base class functionality in Inheritance?
What is constructor in oop?