#include #include #include typedef struct { char cis[10]; float castka; } UCET; UCET *ucty; int pocet=0; float suma=0; void zaloz(char c[10]) { int q=0; for(q=0;q=d) { ucty[q].castka-=d; suma-=d; if(s) printf("Vybrano %.2f z uctu %10s.\n\n",d,c); return(1); } else printf("Nedostatek penez.\n\n"); } return(1); } void statistika() { printf("Pocet uctu: %d\n",pocet); printf("Celkem: %10.2f\n\n",suma); } void list() { int q=0; float f=0; printf("Pocet uctu: %d\n",pocet); for(q=0;q