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(); }
Program of cascading: class vector{ private : int v[3]; public: friend istream & operator >> (
Explain the Macros? Preprocessor' is a translation stage that is applied to your source code before the compiler proper gets its hands on it. Usually the preprocessor performs
Write a C program to compute the factorial of 5 i.e. 1x2x3x4x5 etc Write a C program to calculate the output Y for a given value of X for the following formula. Y=X 2
Recursive Functions Recursion is a process by which a function includes itself with a condition for its safe exit. It is best suitable for a recursive problem. A typical exampl
Damjibhai and Shamjibhai are two jeweler friends. They decide to play a simple game. The game comprises of removing the jewels for polishing, turn by turn. Once a jewel is removed
payment system, in c++ only..just use the printf or scanf.please
Within programs we very often want to execute a different section of code, depending upon various conditions within C the If statement is used to achieve this. The If statement con
Need help in network programming in C++ project. How much you charge?
A: In C++ the access privileges are public, private and protected. The default access level assigned to members of a class is private. Private members of any class are accessible o
what is an array?
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