Example #1
0
int main(void)
{
struct complex a;
struct complex b;
a=getcomplex();
b=getcomplex();
struct complex c=add(a,b);
showcomplex(c);
return 0;
}
Example #2
0
int main()
{
struct complex a,b,c;
printf ("enter the two complex no to be added");
a=getcomplex();
b=getcomplex();
c=add(a,b);
showcomplex(c);

return 0;
}