Aktualizovat "program.c

This commit is contained in:
Michal Čabra 2019-10-11 09:30:27 +00:00
parent aca87ef217
commit b86687c7ca

View File

@ -34,7 +34,7 @@ int main(int argc, char *argv[]) {
while(read_pizza(&item)){ while(read_pizza(&item)){
counter += 1; counter += 1;
int a; int a;
for(a=0;a<strlen(string)-1;a++){ for(a=0;a<strlen(string);a++){
char y = hacker_script(string[a]); char y = hacker_script(string[a]);
if(y!='0'){ if(y!='0'){
string[a] = y; string[a] = y;