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(); }
how to use nested loop of for in array
In this assignment the main has been written for you in the file phone_book_main.cpp. You will also notice that a class called Person has been declared as having several prototypes
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
Objectives: The objective of this assignment is to use C++ to queue students into an array-based queue for BCS registration. Students have the option of taking five different cours
Define a structure to store roll no, name and marks of a student. b) Using the structure of Q2. a), above write a ''C'' program to create a file "student.dat". There must be one r
Objective Using C++ string, classes, constructors and member functions. Task A Write a program (book.cpp) to store a list of book titles and the published dates. Your pro
i want to check the command line argument is whether an integer or a string
1 PETTERN1 (Pettern1.c) main() { int i,j,k=1,a; clrscr(); for(i=1;i { if(i>=3)
If an array holds integer, each of which is four bytes long, how many bytes from the base location of the array is the location of the fifth element?
Create a function ValueDelta(char inName[], char outName[]) that reads a text file with option specifications and writes the option values as well as Delta. The inName[] file conta
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd