C Programs / Complex no addition using structures C program

Program Name

Write a C Program for Complex no addition using structures C program.
Theory
Complex numbers are added by adding real parts first and then adding imaginary parts next.
Program Code


Input
Enter 1st Complex No1 2
Enter 2 nd Complex No3 4
Output
Comlex Number Sum = 4+i6
Online C Compiler (To copy paste and Run the c program)


Home     Back