#include #include typedef struct krug{ float x, y, r; } krug; int main(){ //staticki nacin //krug krugovi[100]; krug* pnk; int i, n; printf("Unesite broj krugova:\n"); scanf("%d", &n); pnk = malloc(n*sizeof(krug)); if(pnk==NULL){ printf("Greska pri alokaciji.\n"); exit(EXIT_FAILURE); } for(i=0; i