#include struct komplex { int re; int im; }; int main(void) { struct komplex p; printf("realni deo broja: "); scanf("%d",&p.re); printf("imaginarni deo broja: "); scanf("%d",&p.im); printf("\n kompleksni broj > %d + j%d ",p.re,p.im); return 0; }