Aktualizovat a1/program.c
This commit is contained in:
parent
0a4f49d6cc
commit
0b4e4b2f30
@ -1,7 +1,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
int trebaPridatNewLine = 1;
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
int pocetRiadkov = 0;
|
int pocetRiadkov = 0;
|
||||||
@ -34,11 +33,6 @@ int main()
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (trebaPridatNewLine == 1)
|
printf("\nLines_count: %d\n", pocetRiadkov);
|
||||||
{
|
|
||||||
char NewLine = '\n';
|
|
||||||
printf("%c", NewLine);
|
|
||||||
}
|
|
||||||
printf("Lines_count: %d\n", pocetRiadkov);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user