answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is a military c-3?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

Write a program to find sum of two complex numbers?

#include<iostream.h> #include<conio.h> class complex { int a,b; public: void read() { cout<<"\n\nEnter the REAL PART : "; cin>>a; cout<<"\n\nEnter the IMAGINARY PART : "; cin>>b; } complex operator +(complex c2) { complex c3; c3.a=a+c2.a; c3.b=b+c2.b; return c3; } complex operator -(complex c2) { complex c3; c3.a=a-c2.a; c3.b=b-c2.b; return c3; } complex operator *(complex c2) { complex c3; c3.a=(a*c2.a)-(b*c2.b); c3.b=(b*c2.a)+(a*c2.b); return c3; } complex operator /(complex c2) { complex c3; c3.a=((a*c2.a)+(b*c2.b))/((c2.a*c2.a)+(c2.b*c2.b)); c3.b=((b*c2.a)-(a*c2.b))/((c2.a*c2.a)+(c2.b*c2.b)); return c3; } void display() { cout<<a<<"+"<<b<<"i"; } }; void main() { complex c1,c2,c3; int choice,cont; do { clrscr(); cout<<"\t\tCOMPLEX NUMBERS\n\n1.ADDITION\n\n2.SUBTRACTION\n\n3.MULTIPLICATION\n\n4.DIVISION"; cout<<"\n\nEnter your choice : "; cin>>choice; if(choice==1choice==2choice==3choice==4) { cout<<"\n\nEnter the First Complex Number"; c1.read(); cout<<"\n\nEnter the Second Complex Number"; c2.read(); } switch(choice) { case 1 : c3=c1+c2; cout<<"\n\nSUM = "; c3.display(); break; case 2 : c3=c1-c2; cout<<"\n\nResult = "; c3.display(); break; case 3 : c3=c1*c2; cout<<"\n\nPRODUCT = "; c3.display(); break; case 4 : c3=c1/c2; cout<<"\n\nQOUTIENT = "; c3.display(); break; default : cout<<"\n\nUndefined Choice"; } cout<<"\n\nDo You Want to Continue?(1-Y,0-N)"; cin>>cont; }while(cont==1); getch(); }


How do you use pemdas in libreoffice calc?

Type 5 in B3 and 6 in C3 Type this formula in A1 "=B3+C3*15" (without the quotes) and 95 is the answer. Because Order of Operation (PEMDAS) was not used, C3*15 was done first. ------------------------------------------------------------- Using PEMDAS: Type this formula in A3 "=(B3+C3)*15" and 165 is the answer. This is because (B3+C3) is done first, and then the multiplication is done last - giving the correct answer.


Is c3-5c2-36c a trinomial?

Yes


Formula for a3 plus b3 plus c3?

kutta


You need to add cells C3 and C7 and multiply C3 by C6. Based on the order of operations what would you do?

multiply first, and then add