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 MULTIPLY 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-a.imag*b.imag)+(a.real*b.imag+a.imag*b.real);// c.imag = a.imag * b.imag; cout< cout<<"the multiplication is : "< getch(); }
Hi is there any chance to get assignment for fresher tutor
Operation on String - C ++ Program: Write a program to define operations on string in c++. class String { char *char_ptr; // pointer to string contents int le
how do you declare an integer variable
Stage One Define the specification of the program Add two nxm size matrices Stage Two Divide the program up into separate modules Input Matrix Ad
(i) Vilsmeir reaction
#include stdio.h> #include conio.h> #include string.h> void del(char[],char *); main() { char str[30],ch,*pp; clrscr(); p
Write a Program for Calculating Value of an Integer? For a clear understanding of recursive function we shall see an illustration for calculating value of an integer. main() {
Program to print character array : Write a program to print the character array by using string class functions. void main() { char line[30]; int i=0; clrsc
Explain one-definition rule (ODR). According to one-definition rule, C++ constructs should be identically defined in each compilation unit they are used in. As per ODR, two
Explain the terms- Substitutability and Extensibility Substitutability - The objects of a properly derived class can be safely and easily substituted for an object of its
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