WACP To Add Two Complex Numbers Using Structure
WACP To Add Two Complex Numbers Using Structure
#include <stdio.h>
struct complex
};
int main()
struct complex a, b, c;
#include<stdio.h>
struct book
char author[30];
char title[20];
float price;
};
gets(b2.author);
fflush(stdin);
gets(b2.title);
printf("enter price\n");
scanf("%f",&b2.price);
return(b2);
}
printf("author is : %s\n",b.author);
printf("title is : %s\n",b.title);
printf("price is : %f\n",b.price);
void main()
b1=input();
display(b1);