Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
THIS PROGRAM IS TO ADD THE TWO COMPLEX NO.S GIVEN BY THE USER */#include #include #include struct complex { int real; int imag; };void main() { clrscr(); complex a,b,c; cout<<"input the real part for first complex number : "; cin>>a.real; cout<<"input the imaginary part for first complex number : "; cin>>a.imag; cout< cout<<"input the real part for second complex number : "; cin>>b.real; cout<<"input the imaginary part for second complex number : "; cin>>b.imag; c.real = a.real + b.real; c.imag = a.imag + b.imag; cout< cout<<"the sum is : "< getch(); }
example of friend
Question 1 . Write a brief note on Aggregation Question 2 . Discuss briefly on constructors Question 3 . What are the important advantages of Inheritance? Question 4 .
There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that
Here is a program that uses an inline function to compute and return the absolute value of its input argument. # include inline int abs(int x) { ret
It is a pointer accessible only in the member functions of a struct, class or union type. It points to the object for which the member function is called. Static member functions d
write a program to find the area under the curve y=f(x) between x=a & x=b
GetChar - get a character from the keyboard, echo to the display and return it in reg al. - Note: if a linefeed (LF) is received (Enter key), a carriage return (CR) will als
how to write code for z transformer
B-tree: A B-tree is an also called balanced m-way tree. A node of the tree may have many records or key and pointers to children. It is also called as the balanced sort tree. It s
padovan string
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd